The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Serious Help Needed in forumdisplay.php
OK I modified my forum to show posts from various other forums in my main off-topic forum as I detailed in this mod: https://vborg.vbsupport.ru/showthread.php?t=245414
And it's working well, but I NEED to add a new feature... I have to be able to tag threads from other forums that are displaying in off-topic as 'foreign' threads or such, preferably with the name of the forum they originated in but even if just a mark to say they aren't native to the 'main' forum (forum id 1 in my mod example)... let's just say I want to add a "[X]" to the beginning of every thread title that isn't from the main forum... Does anyone have any idea how this might be done? I've been staring at forumdisplay.php for hours and can't figure out where to start... I'd be VERY grateful for any help on this. --------------- Added [DATE]1277752869[/DATE] at [TIME]1277752869[/TIME] --------------- Would implementing the code a 'Search' returns be a good starting point? Search results have the forum name in with each thread, I'd settle for having it show on every post if we must. --------------- Added [DATE]1277790601[/DATE] at [TIME]1277790601[/TIME] --------------- I found another option, would still be interested if this is possible but not as important as it was this morning. |
#2
|
||||
|
||||
Have you thought of assigning them prefixes and pulling them that way?
|
#3
|
||||
|
||||
Unless my understanding of prefixes is wrong, and it very well might be, I don't think assigning one would change the forum it's viewable in. My off-topic isn't indexed by search engines so I have to move on-topic threads out so they can get indexed and we get traffic when people find them in searches.
|
#4
|
||||
|
||||
I guess I'm not totally understanding what it is you are trying to do then. Sorry about that.
|
#5
|
||||
|
||||
No problem I appreciate the time you took to respond. In case I can explain it better for you or anyone else;
I have modified my forum so that on forumdislay.php when viewing one 'master forum' I can see the posts from virtually every other forum (or category) for my site... this is working extremely well for my needs, however I would like to implement a means for distinguishing threads that are 'native' to my forum and threads that are from different forums. I know when you search for threads the results are returned with the originating forum listed on the thread display- I want this to happen (or some other customization) for threads displayed via forumdispay.php. |
#6
|
||||
|
||||
Ahh, ok, I think I see what you mean now. You want to be able to view all threads from one forum but have those threads point to the forum they are from, is that correct? Like this:
|
#7
|
||||
|
||||
exactly... I have the code to display all threads already, just need to add the originating forum column now.
--------------- Added [DATE]1277863677[/DATE] at [TIME]1277863677[/TIME] --------------- I think what I need is to edit the threadbits template... that's probably it. --------------- Added [DATE]1277868769[/DATE] at [TIME]1277868769[/TIME] --------------- Yes, threadbit was exactly what I needed to edit... and $thread[forumid] tells me which forum the theead is from... I'm a happy camper right now. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|