php forum
php mysql forum
php mysql smarty
 
Topic Options
#234463 - 01/29/03 03:27 AM [6.2] Postlist Last Post By for 6.2 problems
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Having trouble with this one.. A sign I must suck as a hacker. I seem to be able to install just fine if I have the files.... sigh. Anyway this is the error I got trying to enter one of the main forums. The board generated perfectly until I entered a forum. Should I be looking someplace else for a error or is it in this file? I really need this hack, getting hounded because of the recent switch from classic.<br /><br />A parsing error at 686 for the postlist.php<br />Also isn't the postlist.tmpl in the templates file?<br /><br /><br /><br />// ---------------------------------------------------------------<br />// If they are a normal user then they can only see approved posts<br />$t1Viewable = "AND t1.B_Approved = 'yes'";<br />$Viewable = "AND B_Approved = 'yes'";<br />if ($userstatus == "Administrator") {<br />$Viewable = "";<br />$t1Viewable = "";<br />}<br />if ($userstatus == "Moderator") {<br />if (preg_match("/(,|^){$user['U_Number']}(,|$)/i",$modlist)) {<br />$Viewable = "";<br />$t1Viewable = "";<br />}<br />}<br />

Top
#234464 - 01/29/03 10:40 AM Re: [6.2] Postlist Last Post By for 6.2 problems [Re: Kelly]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Can you provide the exact error message and mark line 686 in the code snippet you provided?
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#234465 - 01/29/03 03:31 PM Re: [6.2] Postlist Last Post By for 6.2 problems [Re: Kelly]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Will have to rehack to get the exact error code. But the line is one of the last two brackets shown above.

Top
#234466 - 01/29/03 04:03 PM Re: [6.2] Postlist Last Post By for 6.2 problems [Re: Kelly]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
You'll have to anyway. It seems like a bracket is missing or got deleted.<br />I also applied this hack on my board, so the instructions should be correct.
_________________________
Running a community? -> Keep informed and take it to the next level

Top


Moderator:  Gizmo 
Who's Online
0 registered (), 24 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Today at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Today at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Today at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Today at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks