The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Weird request - Pull Thread titles
ok have this forum and i want any thread made in that section to have its title (the name of the thread) pulled to a seperate page so i can see every title in alphabet mode with a link back to the orginal thread.
Any one up for this ? |
#2
|
||||
|
||||
Code:
SELECT threadid, title FROM thread WHERE forumid = X ORDER BY title ASC |
#3
|
|||
|
|||
from a novice point of view - how cinq
How do i ake this run in a php file or whatever ? |
#4
|
|||
|
|||
from the vbulletin manual appendix 4
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
sort of helps but it dont help me in displaying the results
i make a php file with your query above as follows : PHP Code:
i need to know how i can call this info back in a seperate page so i can view the entire list as that querie aint working |
#6
|
||||
|
||||
Your custom page ( assuming in your forum dir ) should look something like this :
PHP Code:
The mypage_main will be the main page layout, and where you want the thread titles to show, put a $threadbits in the mypage_main template. The mypage_threadbits is the template in which the titles are shown. Use $title to display the title and link to the thread by using $id as the threadid. |
#7
|
|||
|
|||
works perect so far - cant get an active link back to the real thread though
got the threads showing on a page but the names aitn clickable and ive followed the code above exactly as you have put it m8 ? here is what shows : Eastern Front Map 21306 just need the actual text to be clickable to go back to the actual thread |
#8
|
|||
|
|||
You can just add
PHP Code:
|
#9
|
|||
|
|||
working now thanks a lot (thanks death and cinq)
one last thing - at moment in cinq code its set to show the maps from one section only (forumid 213) how can i get it to say show from more than one section as altoogether i need it for 4 ids |
#10
|
|||
|
|||
Replace this code:
PHP Code:
PHP Code:
Dont forget to replace the XXX's though. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|