1

(180 replies, posted in PunBB 1.2 troubleshooting)

Rickard wrote:

First of all, you really should consider disabling Norton Internet Security before disabling the referer check in PunBB. However, if you insist on disabling it, here's how.

Replace confirm_referer with the following piece of code:

function confirm_referer($script)
{
    // Do nothing
}

Then, in admin_options.php, look for:

// Lazy referer check (in case base_url isn't correct)
if (!preg_match('#/admin_options\.php#i', $_SERVER['HTTP_REFERER']))
    message($lang_common['Bad referer'].' <a href="mailto:'.$pun_config['o_admin_email'].'">'.$pun_config['o_admin_email'].'</a>.');

and remove it.

Ok amn i knew where to find the  admin_options.php it's in the Ftp...

But Replace confirm_referer with the following piece of code... what php. file is that is.. where can i find it to edit it..


like what is the name of the file i have to edit..


Thank you

Nah man i was looking for that..

Thank you so much for that help smile ..

your a champo smile


Thank you so much

The error i get is


Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the PunBB documentation.

Go back

When i Submit anythink of Admin tool like change the Custom title / delete a Post edit a Post / edit a setting in admin plane..

I dont know what is going on.. i come back from a hoilday and it was like this..

Bad HTTP_REFERER ?? I dont know what that is.. i did not do anythink with a HTTP_REFERER..

But i would love to fix this error so i can start fix the Forum and adding mod's ..

Thank you

4

(4 replies, posted in PunBB 1.2 troubleshooting)

Tubby wrote:

k thanks for your reply but i figured it all out.

Im have the same troubble as you.. how did you fix this???

Can you plz help me Thank you

Hello peer's im have S*** this this mod i have insatlled it.. but i can't do the view.pbp and profile.pbp

i have upload my view.pbp and profile.pbpa nd the readme file for the Reputaton mod to send space.. can soemone that knw's how to do this plz plz plz plz plz plz plz downlaod it and cingi the view.pbp and profile.pbp File's and then reuplaod them for me ...

http://www.sendspace.com/file/acx8w3

Thank you so much

Thank you thank you thank you Thx a mill Thank you

I got it Working smile

Sorry about the 2nd post but alot off peer's have looked at this but have not Help onebit sad


can some one help me ??

8

(11 replies, posted in PunBB 1.2 show off)

Man how the hella do you make skin like that i tryed making one but it does not work sad smile i want i sikk one like that but with gray,black,red but i can make them.. how did you do your one..

i was using the spinkbb sad

Hello peer i was going to get this for my Forum sad

say's  this The project you requested does not exist.

when you click on the link

Hello peer's i have done the viewtopic.php , post.pbp & the common.php for this mod but when..

i do the profile one it does not work..

the read me file with the cash mod say's
--------------------------------------------------

profile.php

#
#---------[ 17. FIND (line:698) ]---------------------------------------------------
#

                // We only allow administrators to update the post count
                if ($pun_user['g_id'] == PUN_ADMIN)
                    $form['num_posts'] = intval($_POST['num_posts']);

#
#---------[ 18. REPLACE WITH ]---------------------------------------------------
#

                // We only allow administrators to update the post count
                if ($pun_user['g_id'] == PUN_ADMIN) {
                    $form['num_posts'] = intval($_POST['num_posts']);
                    $form['cm_cash'] = intval($_POST['cm_cash']);
                    $form['cm_bank'] = intval($_POST['cm_bank']);
                }
#
#---------[ 19. FIND (line:~888) ]---------------------------------------------------
#

$result = $db->query('SELECT u.username, u.email, u.title, u.realname, u.url, u.jabber, u.icq, u.msn, u.aim, u.yahoo, u.location, u.use_avatar, u.signature, u.disp_topics, u.disp_posts, u.email_setting, u.save_pass, u.notify_with_post, u.show_smilies, u.show_img, u.show_img_sig, u.show_avatars, u.show_sig, u.timezone, u.language, u.style, u.num_posts, u.last_post, u.registered, u.registration_ip, u.admin_note, g.g_id, g.g_user_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id='.$id) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());

#
#---------[ 20. REPLACE WITH ]---------------------------------------------------
#


$result = $db->query('SELECT u.cm_cash, u.cm_bank, u.username, u.email, u.title, u.realname, u.url, u.jabber, u.icq, u.msn, u.aim, u.yahoo, u.location, u.use_avatar, u.signature, u.disp_topics, u.disp_posts, u.email_setting, u.save_pass, u.notify_with_post, u.show_smilies, u.show_img, u.show_img_sig, u.show_avatars, u.show_sig, u.timezone, u.language, u.style, u.num_posts, u.last_post, u.registered, u.registration_ip, u.admin_note, g.g_id, g.g_user_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id='.$id) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());


#
#---------[ 21. FIND (line:~1057) ]---------------------------------------------------
#

        if ($pun_user['g_id'] == PUN_ADMIN)
            $posts_field = '<label>'.$lang_common['Posts'].'<br /><input type="text" name="num_posts" value="'.$user['num_posts'].'" size="8" maxlength="8" /><br /></label><p><a href="search.php?action=show_user&user_id='.$id.'">'.$lang_profile['Show posts'].'</a></p>'."\n";
        else if ($pun_config['o_show_post_count'] == '1' || $pun_user['g_id'] < PUN_GUEST)
            $posts_field = '<p>'.$lang_common['Posts'].': '.$user['num_posts'].' - <a href="search.php?action=show_user&user_id='.$id.'">'.$lang_profile['Show posts'].'</a></p>'."\n";
        else
            $posts_field = '<p><a href="search.php?action=show_user&user_id='.$id.'">'.$lang_profile['Show posts'].'</a></p>'."\n";


#
#---------[ 22. REPLACE WITH ]---------------------------------------------------
#

        if ($pun_user['g_id'] == PUN_ADMIN) {
            $posts_field = '<label>'.$lang_common['Posts'].'<br /><input type="text" name="num_posts" value="'.$user['num_posts'].'" size="8" maxlength="8" /><br /></label><p><a href="search.php?action=show_user&user_id='.$id.'">'.$lang_profile['Show posts'].'</a></p>'."\n";
            $posts_field .= '<label>'.ucwords($pun_config['cm_cur_name']).'<br /><input type="text" name="cm_cash" value="'.$user['cm_cash'].'" size="8" maxlength="8" /><br /></label>'."\n";
            $posts_field .= ($pun_config['cm_bank'] == 1) ? '<label>'.$lang_common['Bank'].'<br /><input type="text" name="cm_bank" value="'.$user['cm_bank'].'" size="8" maxlength="8" /><br /></label>'."\n" : '';
        } else if ($pun_config['o_show_post_count'] == '1' || $pun_user['g_id'] < PUN_GUEST) {
            $posts_field = '<p>'.$lang_common['Posts'].': '.$user['num_posts'].' - <a href="search.php?action=show_user&user_id='.$id.'">'.$lang_profile['Show posts'].'</a></p>'."\n";
            $posts_field .= '<p>'.ucwords($pun_config['cm_cur_name']).': '.$user['cm_cash'].'</p>'."\n";
            $posts_field .= ($pun_config['cm_bank'] == 1) ? '<p>'.$lang_common['Bank'].': '.$user['cm_bank'].'</p>'."\n" : '';
        } else
            $posts_field = '<p><a href="search.php?action=show_user&user_id='.$id.'">'.$lang_profile['Show posts'].'</a></p>'."\n";

#
#---------[ 23. SAVE/UPLOAD ]---------------------------------------------------
#

profile.php

-------------------------------------------------------------------------------------

Ok i i have upload the file to the ftp but when i go to look at profiles i get this...

Parse error: syntax error, unexpected T_CASE in /hermes/web03/b49/pow.freakazo/htdocs/forum/profile.php on line 735


Wot is gone one Some one Plz help..


Thank you

11

(4 replies, posted in PunBB 1.2 troubleshooting)

Sorry about that.. Tahnk you for the help.. does this work with all mod's like updating the install.pbp?? or only this one ?

Thank you man i need this bad smile

ok i edit the 12 line

from

$punbb_versions    = array('1.2.3', '1.2.4', '1.2.5', '1.2.6');

to

$punbb_versions    = array('1.2.3', '1.2.4', '1.2.5', '1.2.6', '1.2.7', '1.2.8, '1.2.9, '1.2.10, '1.2.11, '1.2.12, '1.2.13, '1.2.14,);

is that rigth as i have the new forum 1.2.14 ?? or did i do it wrong


when i go to install it i get this

http://www.psp-personalize.net/forum/install_mod.php

this the link it dead it say's

Parse error: syntax error, unexpected T_DNUMBER, expecting ')' in /hermes/web03/b49/pow.freakazo/htdocs/forum/install_mod.php on line 12

and the reset of the website is white


--------------------------------------------------------------------------------------------

with the rep mod when you edit the install_mod.pbp it look's like this

<?php
/***********************************************************************/

// Some info about your mod.
$mod_title      = 'Reputation System';
$mod_version    = '2.2.0';
$release_date   = '06-04-24';
$author         = 'hcs';
$author_email   = 'hcs@mail.ru';

///Mysql error
///Error: 1062 SQLSTATE: 23000 (ER_DUP_ENTRY)
///Message: Duplicate entry '%s' for key %d

///Error: 1054 SQLSTATE: 42S22 (ER_BAD_FIELD_ERROR)
///Message: Unknown column '%s' in '%s'

///Error: 1146 SQLSTATE: 42S02 (ER_NO_SUCH_TABLE)
///Message: Table '%s.%s' doesn't exist

///Error: 1060 SQLSTATE: 42S21 (ER_DUP_FIELDNAME)
///Message: Duplicate column name '%s'

///Error: 1050 SQLSTATE: 42S01 (ER_TABLE_EXISTS_ERROR)
///Message: Table '%s' already exists

///Error: 1061 SQLSTATE: 42000 (ER_DUP_KEYNAME)
///Message: Duplicate key name '%s'

// One or more versions of PunBB that this mod works on. The version names must match exactly!
$punbb_versions    = array('1.2.10', '1.2.11');

$punbb_versions    = array('1.2.10', '1.2.11');   is one line 31 ???

13

(2 replies, posted in Feature requests)

Hello peer's

i have a forum with the new 1.2.14 but we when to install the Reputation mod for the forum...

Now we find it you can't use it on the new 1.2.14 sad( wot is going on i miss this soo much sad

when is this reputation mod going to be updated for the new  1.2.14 



??


anyinfo at all would be great..


Thank you for your time smile

14

(4 replies, posted in PunBB 1.2 troubleshooting)

i need help with finding working mod's for the 1.2.14 pnubb forum mod's

The reputation does not work for it sad

i need help with find mod's for the 1.2.14 pnubb forum smile Thank you and yes it is out smile

15

(2 replies, posted in PunBB 1.2 show off)

Hello peer's i ahve a psp-personalize website and forum ith punbb smile

http://psp-personalize.net/forum/ is the link smile

we are running PunBB 1.2.14 smile

we have over 1300 post acivte member's smile alot of info and tut and  stuff to personalize your PSP with tongue

well..