php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#259386 - 01/26/04 05:50 PM Re: Discouraging people from certain forums? How? [Re: BrokenToy]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
UBB5 would be the keyword. That is the base for anyone converting from UBB
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#259387 - 01/27/04 01:27 AM Re: Discouraging people from certain forums? How? [Re: calabash23]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Actually - in a recent version the code got changed..... I'm going to report it as a threads bug, as it makes the existing code redundant. But you'll also need to find this:<br />
Code:
<br />        UPDATE {$config['tbprefix']}Users<br />        SET    U_Totalposts = U_Totalposts + 1,<br />               U_Laston     = '$date',<br />               U_Title      = '$UserTitle_q'<br />        WHERE  U_Number   = '{$user['U_Number']}'<br />
<br /><br />Change to this:<br />
Code:
<br />        UPDATE {$config['tbprefix']}Users<br />        SET    U_Totalposts = $Totalposts,<br />               U_Laston     = '$date',<br />               U_Title      = '$UserTitle_q'<br />        WHERE  U_Number   = '{$user['U_Number']}'<br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#259388 - 01/27/04 06:41 AM Re: Discouraging people from certain forums? How? [Re: Daine]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
I get this error when installing the hack. The hack seems to work, but i get the error. Also, it doesnt allow post count in any forum, so i need to tweak the code to only let it miss out certain ones yeah?<br /><br />[]<br /><br />SQL ERROR: Tue, Jan 27 2004 07:36:48 -0500 Unable to do_query: UPDATE w3t_Users SET U_Totalposts = Totalposts, U_Laston = '1075225008', U_Title = 'Webmaster' WHERE U_Number = '2' <br />Unknown column 'Totalposts' in 'field list' <br /><br />[/]

Top
#259389 - 01/27/04 07:01 AM Re: Discouraging people from certain forums? How? [Re: Luka_dup1]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
=$Totalposts <br />has to be <br />='$Totalposts'

Top
#259390 - 05/19/04 07:26 AM Re: Discouraging people from certain forums? How? [Re: domain123]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
just like to say, finally got this working. nice little hack, thanks everyone.

Top
Page 2 of 2 < 1 2


Moderator:  Ian_W 
Who's Online
2 registered (AllenAyres, blaaskaak), 19 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Spell Check [beta]
by AllenAyres
12/01/08 09:32 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 25449
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks