php forum
php mysql forum
php mysql smarty
 
Topic Options
#221531 - 07/22/02 03:58 PM [6.02] Poll Threads 1.0
Stefan_dup1 Offline
Power User

Registered: 02/12/02
Posts: 70
Mod Name / Version: Poll Threads v1.0<br />Description: This is a hack that adds an image to the subject of threads what are containing a poll.<br />Working under: UBB.threads 6.0.2<br />Any pre-requisites: None<br />Author(s): Me and a lot more people!<br />Credits: To everyone who initiated or created the StickyThreads-Hack<br />Files Altered: postlist.php<br />Database Altered: No<br />New Files: poll.gif<br /><br />This hack adds this nifty small image []http://www.infopop.de/images/poll.gif[/] to those subjects in postlist.php what are containing a poll.<br /><br />


Attachments
53004-ubb.threads 6.02 Poll-Hack.zip (12 downloads)

_________________________
Gruß/Regards
Stefan
thinkfactory™

Top
#221532 - 07/23/02 10:49 PM Re: [6.02] Poll Threads 1.0 [Re: MRLefferts]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
danke, gonna try this one out tonight too <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#221533 - 07/24/02 12:02 AM Re: [6.02] Poll Threads 1.0 [Re: MRLefferts]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Just looking at this, and I think something else is missing<br />from the instructions:<br /><br />Around line 690 find this:<br /><pre><font class="small">code:</font><hr> list($Number,$Parent,$Username,$Posted,$Last_Post,$Subject,$Main,$Open,$Approved,$icon,$Reged,$Counter,$Sticky,$Replies,$Rating,$Rates,$stars,$Color,$PostStatus) = $dbh -> fetch_array($sth);<br /></pre><hr><br /><br />and change it to this:<br /><pre><font class="small">code:</font><hr><br /> list($Number,$Parent,$Username,$Posted,$Last_Post,$Subject,$Main,$Open,$Approved,$icon,$Reged,$Counter,$Sticky,$Replies,$Poll,$Rating,$Rates,$stars,$Color,$PostStatus) = $dbh -> fetch_array($sth);<br /></pre><hr><br /><br />(needed to have the "$Poll," after the "$Replies,"<br /><br />I haven't tested this hack by itself... but was looking at this code as <br />I'm working on a hack that will change post icons for Sticky, <br />File Attached and Polls, and discovred that my poll function <br />wasn't working. Needed to make the above adjustment.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#221534 - 07/25/02 01:47 PM Re: [6.02] Poll Threads 1.0 [Re: Daine]
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California
Yep, I had to add the "$Poll," to get it to work for me.

Top


Who's Online
1 registered (GEN), 27 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by blaaskaak
Today at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
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
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 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