The Arcive of vBulletin Modifications Site. |
|
![]() |
||||||||||||||||||||||||||
Okay, I am a tad bit upset because I just bought my VBulletin forums and this was the first hack I chose to install. I get to the very end and I am almost done and everythings looking great then this happens...
Code:
2. MEMBERINFO TEMPLATE In your MEMBERINFO template, find: $stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title> $headinclude </head> <body> $header $navbar <!-- main info - avatar, profilepic etc. --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> and then it says replace it with another big block. When I do this, I get the following error when I try to save it. Quote:
Show Your Support
|
Comments |
#2
|
|||
|
|||
![]()
Double check your edit.
|
#3
|
|||
|
|||
![]()
Thanks, took me 4 times before I finally did it right. Its all installed and appears to work correctly except for one problem...
if you try to view a member's public profile, I get this... Quote:
Quote:
|
#4
|
|||
|
|||
![]()
Show me what you have about 10 lines before line 625 and 10 lines after in member.php.
Same thing with private.php, show me what you have a little before and a little after that line (949). Rgds |
#5
|
|||
|
|||
![]()
Is there anyway to determine what line you are looking at rather than counting from the top? I have usually just counted but 600 and 900+ are a long ways to count.
|
#6
|
|||
|
|||
![]()
For God's name, what editor are you using? Notepad? Please, do yourself a favor and don't use that crap.
Every decent editor should tell you, at which line you are at. Try downloading Crimson Editor or some other decent one. Rgds |
#7
|
|||
|
|||
![]()
Notepad tells you what line you're on.
When you're on a line, do Edit > GoTo or, View > Status Bar ![]() |
#8
|
|||
|
|||
![]()
in member...
Code:
// Shall we show the warn/view warns/view your warnings links? if ($hierarchical==0) { if ($postadmin!=1 AND $postmod!=1 AND $postsmod!=1 AND ($useradmin==1 OR $usersmod==1 OR $usermod==1)) { $showwarnlink=1; $showviewwarnlink=1; } if ($userinfo[userid]==$bbuserinfo[userid] AND $useradmin!=1 AND $usersmod!=1 AND $usermod!=1 AND ($userinfo[warning_level]>0 OR $userinfo[warnings]>0 OR $userinfo[alerts]>0))) { $showviewyourslink=1; } } if ($hierarchical==1) { if (($postadmin!=1 AND $postmod!=1 AND $postsmod!=1 AND ($useradmin==1 OR $usersmod==1 OR $usermod==1)) OR ($postmod==1 AND $usersmod==1) OR ($useradmin==1 AND $postadmin!=1)) { $showwarnlink=1; $showviewwarnlink=1; } if ($post[userid]==$bbuserinfo[userid] AND $postadmin!=1 AND ($post[warning_level]>0 OR $post[warnings]>0 OR $post[alerts]>0)) { $showviewyourslink=1; } } Code:
if (!$collector=='' AND (vbstrtolower($recipient)==vbstrtolower($warner) OR vbstrtolower($recipient)==vbstrtolower($autowarner))) { $recipient=$collector; if ($recipient != '') { $recipients["$recipient"] = addslashes(htmlspecialchars_uni($recipient)); } } } // just a single user else { if (!$collector=='' AND (vbstrtolower($pm['recipients'])==vbstrtolower($warner) OR vbstrtolower($pm['recipients'])==vbstrtolower($autowarner))) { $pm['recipients']=$collector; } $recipients[] = addslashes(htmlspecialchars_uni($pm['recipients'])); } // query recipients |
#9
|
|||
|
|||
![]()
In this line:
PHP Code:
In private.php, find: PHP Code:
Rgds |
#10
|
|||
|
|||
![]()
Awesome, that fixed it, quick support too :nervous:
I found one more bug with it, New Thread doesn't work either. the error- Code:
Parse error: parse error, unexpected T_ELSE in /home/nightmar/public_html/forum/newthread.php on line 188 Code:
// End of automated warnings things { $url = "showthread.php?$session[sessionurl]p=$newpost[postid]#post$newpost[postid]"; } else { $_REQUEST['forceredirect'] = 1; $url = "forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]"; } eval(print_standard_redirect('redirect_postthanks')); } // end if } |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|