The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
{Request} Newest Threads
Hi All!
I have searched High and low, and cannot find a hack/mod that will let me show the 10 newest threads on my forums on another website! What i mean is, I have a forum and a content site that is related to the forum, and want to have a table at the bottom of the page that shows the 10 newest threads, its author and the number of replies. I have seen a load of these in use on other website and cannot find the dam thing! Please point me in the right direction! Thanks a lot! Matthew |
#2
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=44719" target="_blank">https://vborg.vbsupport.ru/showt...threadid=44719</a>
|
#3
|
|||
|
|||
thats not what i mean, have a look at the bottom of the page at sitepoint.com thats what i want!
Thanks Matthew |
#4
|
||||
|
||||
you might wanna check this out:
https://vborg.vbsupport.ru/showthrea...threadid=38334 you could 'rip' the not-needed code out... or you could rip the code from one of those other 'home' pages, like vbportal, vbindex, vbhome, etc. |
#5
|
|||
|
|||
I am not a programmer, and i have VERY basic VBulletin skillls as i only got the license 3 days ago
Could anyone help me out? thanks Matthew |
#6
|
||||
|
||||
o, sorry didn't know...
well, i can do this lil' flick for you if you can tell me where you actually want it... on your forum home page, or your website homepage? (i assume it's the last one) if it's your website homepage, what language is it written in? php? plain html? something else? please tell me |
#7
|
|||
|
|||
Thanks a lot man!
it is written in PHP! And it is on another server my forums http://freelanceforums.com and the site i want it on is http://howtofreelance.com (not yet built) so i dont know if this effects anything the page is in PHP so if you could make the page that i just need to add my DB details to that would be great ! Thanks a lot! Matthew |
#8
|
||||
|
||||
ok, this might work (i haven't tested... and b/c of your forums are on another server/domain, i'm not sure if it actually works...)
i also removed the permissions code that was included in the original, this might not be so secure, but if you don't do strange things, it should be ok (supposing your forums are viewable by guests...) open your php file, just after <? add: PHP Code:
then, where you want the 10 (or more or less if you want, see the variables) latest threads/replies list to show up, put this in the php file: PHP Code:
finally log in to the admin panel of your forums and make a new template called 'newsportal_threadbit' with the following contents: PHP Code:
REMEMBER THAT I DID NO CODING ON THIS ONE, EVERYTHING IS CODED BY KuraFire, AND THEREFORE ALL CREDITS ABOUT THE CODE SHOULD GO TO HIM!!! |
#9
|
|||
|
|||
Thanks A LOT for that!
I will test it now [hides the excitement ] Matthew |
#10
|
||||
|
||||
lol, tell me if it works
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|