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 
Top Posters Last 30 Days
AllenAyres 83
Gizmo 28
Zarzal 21
sirdude 19
blaaskaak 14
willing 7
swebs 6
Who's Online
0 Registered (), 46 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.x] ubb.links
by AllenAyres
Yesterday at 06:15 PM
Changing currency for subscriptions?
by AllenAyres
Yesterday at 01:15 PM
Protect users emails
by AllenAyres
Yesterday at 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
Team UBBDev Rides Again!
by AllenAyres
07/02/08 11:38 AM
Drupal / UBB integration module for Drupal
by blaaskaak
06/30/08 01:52 PM
[7.3.x] Scheduled board close for backup
by AllenAyres
06/30/08 12:51 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks