The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Latest news on the index (invision function)
Howdy!
Take a look overhere please: http://eaglecreek.j-p-it.nl/forum/ As you can see at the top of the forums there is a sentence "[EC] Eagle Creek Clan Forum latest news: Forums and site updated".. In the Admin Panel of the Invision Board I can turn this feature on or off and I can fill in the section ID of the section which one should be shows. It justs shows the title of the most recent posted thread in that forum. Is this a standardoption on VB? Or should I go ask for a hack like this? All the best, EC |
#2
|
||||
|
||||
Not a default feature, but can be easily added by placing code in php_include and editting your FORUMHOME template
|
#3
|
||||
|
||||
Uuhm.. I'm not really a PHPhero (I will be, one , I bought books , anyway ).. Can you make something for me?
Or is that much work? |
#4
|
||||
|
||||
The thread there "Forums and site updated", is it being pulled from just a specific forum(s) ? Or is it just the latest thread with a reply ?
|
#5
|
||||
|
||||
No, it's for specific forum(s).. In Invision Board I can give up the forumID of the forum I want to get displayed.. (only one forum is possible overthere, but maybe more forumID's are possible when you make it yourself).
So; it shows the threadtitle from the forum I gave the ID and it links to the thread. |
#6
|
||||
|
||||
Not tested but something you can try :
Put this in your phpinclude_start ( Styles & Templates > Style Manager > All Style Options ) PHP Code:
Now, in your FORUMHOME template, add this whereever you want it to be shown : Code:
[EC] Eagle Creek Clan Forum latest news: <a href="showthread.php?t=$getnews[threadid]">$getnews[title]</a> |
#7
|
||||
|
||||
It isn't for EC forums but I will try this out! Thanks alot!
Where do I have to place it in phpinclude_start? /* // Example of how to include a seperate file: ob_start(); include('yourheader.html'); $your_code = ob_get_contents(); ob_end_clean(); // Now place a reference to $your_code where you want the resulting HTML to be displayed. // This will most likely be the header or footer template. */ |
#8
|
||||
|
||||
After :
// This will most likely be the header or footer template. */ |
#9
|
||||
|
||||
Database error in vBulletin 3.0.4:
Invalid SQL: SELECT threadid, title thread WHERE forumid=X ORDER BY lastpost DESC LIMIT 1 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE forumid=X ORDER BY lastpost DESC LIMIT 1' at line 1 mysql error number: 1064 Date: Thursday 12th of May 2005 02:21:08 PM Script: http://www.antispywareoffensief.nl/f...e&pp=60&page=1 Referer: http://www.antispywareoffensief.nl/f...e&pp=60&page=1 Username: Admin IP Address: * |
#10
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|