Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Dec 2012, 01:47
SupportAM SupportAM is offline
 
Join Date: Nov 2006
How to get thread's links?

I want to display last 10 threads on my website main page in a way that hyperlink takes user to actual forum thread.

I can see and pick threads titles from thread table. How to get link which I could use in hyperlink?
Reply With Quote
  #2  
Old 13 Dec 2012, 03:24
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
What is your current code you are using that is only displaying the thread titles? In the same thread table is a threadid which you should be able to use for the link.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 07 Oct 2013, 12:04
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Real name: NJ
Connect your file with the database.
and use this query to get title and threadid from Thread table


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can remove forumid='10' from the above query . because above query will get rows of the threads posted in forum ID 10..

After fetching rows. use them to display


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

forum/showthread.php/ Because Advanced Friendly URL Type is enabled
thats it.

It will work for vbulletin 4.xx

Last edited by NAZIA; 07 Oct 2013 at 14:35.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Posting Features Thread Links / Redirect Thread to URL phpdesk vBulletin 4.x Add-ons 65 13 Jul 2016 08:45



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:10.

Layout Options | Width: Wide Color: