Previous Thread
Next Thread
Print Thread
Rate Thread
#262004 11/04/2003 2:02 AM
Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Just did the upgrade to 6.4 and had this hack.. I used this one all the time to keep up with the many forums I have.
THanks for the upgrade Josh... it is sweet!!

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Actually you can do that with a link in the menu bar like this:

<a href="{$config['phpurl']}/dosearch.php?Cat=0&Forum=All_Forums&Words=&Searchpage=0&Limit=25&where=bodysub&newerval=&newertype=d&olderval=&oldertype=&daterange=1&bodyprev=1&Name=">Recent Topics</a>

That link is supposed to pull only search results within 1 day - but somehow it pulls more. Need to investigate what might be a 6.4 search bug.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Correction:

<a href="{$config['phpurl']}/dosearch.php?Cat=0&Forum=,,All_Forums,,&Words=&Searchpage=0&Limit=25&where=bodysub&newerval=1&newertype=d&olderval=&oldertype=&daterange=1&bodyprev=1&Name=">Active Topics</a>

This works - ignore above. No bug.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
this in the post list?

I also need to add a post link when viewing a post... really improves posting from the members.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
That code I posted above would go in your menu bar
ubbt_registerednav.tmpl and ubbt_unregisterednav.tmpl

A post link could be put in showflat/showthreaded templates.

I think <a href="{$config['phpurl']}/newpost.php?Board=$Board">Post</a>
should do it

Sponsored Links
Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
That does it but the format looks really bad on the post link.

<a href="{$config['phpurl']}/newpost.php?Board=$Board">Post</a>
 

<!-- prevoption is previous.gif or greyprevious.gif -->

<td class="navigation" nowrap="nowrap">

$prevlinkstart

<img src="{$config['images']}/$prevoption" alt="{$ubbt_lang['PREV_THREAD']}" border="0" {$images['previous']} $imagestyle />

{$ubbt_lang['PREV_ICON']}

$prevlinkstop

 

</td>


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, that was just a link, you probably want to put it inside a td cell like the othere buttons

<td class="navigation nowrap="nowrap"
LINK
</td>


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)