php forum
php mysql forum
php mysql smarty
 
Topic Options
#239473 - 03/10/03 09:56 PM [6.2] Active Topics like Classic
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na

   [6.2] Active Topics like Classic to Del.icio.us Add to del.icio.us
  Digg [6.2] Active Topics like Classic Digg it
Mod Name: Active Topics for Threads<br />Version 1.0<br />Credits: JustDave and the YASM Modification and ExtremeBikini for the alt tag preview<br />Description : This Modification adds an active topic like Ubb.Classic, displaying the latest 25 posts, it's a link in the main menu.<br /><br />Working Under: 6.2.3<br />Demo : here <br /><br />Files Altered: <br />ubbt_registerednav.tmpl.<br /><br />New Files:<br />dosearchlatest.php<br />dosearchlatest.tmpl<br /><br />Database Altered : No<br /><br />Disclaimer:<br />Please make a backup of your files and database before doing any code modifying. I'm not responsible for any problems you encounter and infopop will not provide tech support unless you restore your files to their original state.<br /><br />Follow instructions in the zip!<br /><br /><br />


Attachments
72496-activetopicsmod.zip (20 downloads)


Top
#239474 - 03/10/03 10:08 PM Re: [6.2] Active Topics like Classic [Re: adrienne48]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
nice one.... does it add many queries for that page? it looks good.
_________________________
- Allen wavey
- What Drives You?

Top
#239475 - 03/10/03 10:39 PM Re: [6.2] Active Topics like Classic [Re: SurfMinister]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Yeah, how bout' someone that knows more about it tell me!<br /><br />lmao! I'm hoping people that are good with these can look over it and either change it or tell me what to change. <br /><br />Though, all it really is is using JustDave's Search Hack, and ExtremeBikini's Hover over and get topic..... So, if those are both used here, I can't imagine it's that many extra queries. <br /><br /><br />-peter

Top
#239476 - 03/11/03 12:45 AM Re: [6.2] Active Topics like Classic [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Well done! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />*Dal adds this one to his "to do" list for Da LAN Tech <img src="/forum/images/graemlins/smile.gif" alt="" /> *
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#239477 - 03/11/03 12:18 PM Re: [6.2] Active Topics like Classic [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
The dosearchlatest.php file in your zip is zero length <img src="/forum/images/graemlins/frown.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#239478 - 03/11/03 01:44 PM Re: [6.2] Active Topics like Classic [Re: jacksonm99]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Yeah, you have to copy and paste the contents of your dosearch.php file, and put it in there. Then, you modify that file .... <br /> <br /> <br />I explained it in the instructions, but may have not been clear. <br /> <br /> <br />Should I explain more? <br /> <br />(Basically, you create dosearchlatest.php by modifying dosearch.php, but dosearch.php is left intact and original, so technically you're adding files and really only touch the ubbt code by changing the registerednav template.) <br /> <br /> <br />-peter

Top
#239479 - 03/11/03 02:19 PM Re: [6.2] Active Topics like Classic [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
You might want to include that in your instructions and leave out the zero length file <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I figured out what you were trying to do in the template and I modified your template to use the existing variables in the dosearch.php file (so there is no need to edit the dosearch.php). <br /><br />In your template you had:<br /><br />
Code:
{$postrow[$i]['Body']}  
<br /><br />I replaced it with:<br /><br />
Code:
 {$searchrow[$i]['Alt']} 
<br /><br />You can see the results here <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I created a copy of dosearch.php and named it dabuzz.php because I thought I might have to change the way dosearch.php works, but it wasn't necessary. The only advantage I have with the new file is calling the new template.<br /><br />You might be able to reduce this hack to just a template <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#239480 - 03/11/03 03:16 PM Re: [6.2] Active Topics like Classic [Re: jacksonm99]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Okay, so I just tried what you said... <br /><br />Did you get this to work with an unhacked copy of dosearch.php, just renamed ? <br /><br />Cause, I just tried it and didn't get it to work. <img src="/forum/images/graemlins/frown.gif" alt="" /><br /><br />I guess I'm just unclear about how to get this down to just the template.... I really just played around with JustDaves YASM and ExtremeBikini's mod, so I don't know that I completely get what it's doing. lol. What I did was get it to work, and I was happy with that. LOL. But, if you've got an easier way please help!<br /><br />(Also, the instructions did include the bit about copy/pasting into the blank file....)<br /><br />-peter<br /><br />

Top
#239481 - 03/11/03 03:28 PM Re: [6.2] Active Topics like Classic [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I have YASM installed <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I saw the blank file, skipped the instructions, and rewrote the template <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#239482 - 03/11/03 03:43 PM Re: [6.2] Active Topics like Classic [Re: jacksonm99]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
LMAO!<br /><br />Okay, so should I just redo it by including your template change and preface it by saying you should install YASM first?<br /><br />So basically, instructions will read to install YASM, upload template, and then insert the line in the registerednav template?<br /><br />-peter

Top
#239483 - 03/12/03 03:31 AM Re: [6.2] Active Topics like Classic [Re: adrienne48]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Looks really nice.. which version we gonna use <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#239484 - 03/12/03 04:03 AM Re: [6.2] Active Topics like Classic [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
You would also need to make a copy of the dosearch.php file and change the template that it includes.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#239485 - 03/13/03 03:10 AM Re: [6.2] Active Topics like Classic [Re: jacksonm99]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
I got it up and running ... nice one thanks. I followed your instructions and copied the entire file over. I already had the yasm installed so had to use partial strings to locate some replace strings. <br /><br />Nice work I really missed the old Active Topics.

Top
#239486 - 03/13/03 05:51 AM Re: [6.2] Active Topics like Classic [Re: Kelly]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I can't take credit for this one since a lot of people put some real time and effort into making it work <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I've attached a template that I modified for this hack to clean up some of the html.


Attachments
72888-active.tmpl (10 downloads)

_________________________
Da LAN Tech

Threads Dev Moderator

Top
#239487 - 03/13/03 08:32 AM Re: [6.2] Active Topics like Classic [Re: jacksonm99]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
I am using it since a few minutes and really like it.<br />Would be nice if the amount of last topics that will be shown could be set in the admin menu. <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top


Who's Online
0 Registered (), 23 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 7
tackaberry 5
FREAK1 5
Chris Bale 4
Ian_W 4
Gizmo 4

 

 

 
fusionbb message board php hacks