Download Mod?

Ok...thanks!

I dunno how to edit, but, it's ok.
I do, however, have another question.

I made something that I will let people to download, but,this is what I wanna do:
Put a link to download it off the forums, but, they must FIRST register in the forum, and then and ONLY then will they be able to have a link to download it.

Also, if there is a way to put a few words under that show how many times the file has been downloaded.Thanks!

"This Mod is not conpatible w/your punBB version"

It's probably good, but, it doesn't work on my version! (the latest one...)

That SUCKS

omg. I LOVE YOU! lol...hehe

I did that. Completely. And it STILL doesn't work. I have a favor to askfor someone-

Could somebody please take the ORIGINAL post.php and do the following please:

#---------[ 11. FIND (line:39) ]---------------------------------------------------
#

// Fetch some info about the topic and/or the forum
if ($tid)
    $result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics, t.subject, t.closed FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id='.$tid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
else
    $result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$fid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());


#
#---------[ 12. REPLACE WITH ]---------------------------------------------------
#

// Fetch some info about the topic and/or the forum
if ($tid)
    $result = $db->query('SELECT f.cm_cpp, f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics, t.subject, t.closed FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id='.$tid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
else
    $result = $db->query('SELECT f.cm_cpt, f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$fid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());



#
#---------[ 13. FIND (line:317) ]---------------------------------------------------
#

        if (!$pun_user['is_guest'])
        {
            $low_prio = ($db_type == 'mysql') ? 'LOW_PRIORITY ' : '';
            $db->query('UPDATE '.$low_prio.$db->prefix.'users SET num_posts=num_posts+1, last_post='.$now.' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
        }

        redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect']);


#
#---------[ 14. REPLACE WITH ]---------------------------------------------------
#

        if (!$pun_user['is_guest'])
        {
            $low_prio = ($db_type == 'mysql') ? 'LOW_PRIORITY ' : '';
            $db->query('UPDATE '.$low_prio.$db->prefix.'users SET num_posts=num_posts+1, last_post='.$now.' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
            // Update the user's cash..
            if ($tid) {
                $db->query('UPDATE '.$low_prio.$db->prefix.'users SET cm_cash=cm_cash+'.$cur_posting['cm_cpp'].' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
                redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect'].'<br />You have gained '.$cur_posting['cm_cpp'].' '.$pun_config['cm_cur_name'].'.');
            } else if($fid) {
                $db->query('UPDATE '.$low_prio.$db->prefix.'users SET cm_cash=cm_cash+'.$cur_posting['cm_cpt'].' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
                redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect'].'<br />You have gained '.$cur_posting['cm_cpt'].' '.$pun_config['cm_cur_name'].'.');
            }
        } else
                redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect']);


THANK YOU!!! When you do it, please send the file through e-mail, post it here, or just go online, my sn's are:

AIM:redlimesgalore
YIM:jamesbonddude2000
MSN:inghetata2@hotmail.com

Thank You So Much Once Again!

KK Thanks

AAAHHH. NOOOO. That's true...it doesn't add posts anymore. What do I do now?

Actually, nevermind!
I downloaded punBB and replaced the original post.php file, and it worked! yay! lol

Ok, thanks for the info, but what do I do now? Please!

I put that in notepad, saved it as rss.php, save it in ANSI format (which said it might lose some characters), then I uploaded it, now what?

Ok, so, now I'm REALLY mad. AAHH.
I uninstalled the mod just fine, but, now, I can't even go into the POST section. It says the following:
"Parse error: parse error, unexpected T_ELSE in /home/simsgal/public_html/key-lime/forum/post.php on line 45"
Please Help again!

Thanks

KK Thanks:)

Maybe there's a, um...., RSS Mod, or just look through the mods.

If you find one please post it here!

Thanks

I'm sorry...I just wanted to put it in both b/c I didn't know which one to post in, but, will it also uninstall off the "mods" menu in the admin section then?

So, I just delete the folders, that's it?

Plz answer both questions..

thx

Ok, it was the Chat Mod...how do I uninstall it?

I didn't really want it anyways. lol

Whenever I try to post in my forum (www.key-lime.com/forum) it says the following:

Parse error: parse error, unexpected T_ELSE in /home/simsgal/public_html/key-lime/forum/post.php on line 45

I have the latest version of punBB and I have the Chat Mod and the Cash Mod installed.

This hasn't happened ever since I installed the Chat Mod.

Please Help!

Thanks

18

(1 replies, posted in PunBB 1.2 show off)

Key Lime PSP Entertainment now Officially has a forum!

www.key-lime.com/forum

Please Sign Up!