miniBB ®
 
miniBB Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Galleries / Attachments Addon for miniBB Extend your miniBB-forums, attaching the images and files, get the File and Picture Attachments add-on!
Custom Tutorials and Modifications miniBB Community Forum / Custom Tutorials and Modifications /
Short link for this topic:

Recent Forum Discussions in marquee style

Author csp
Forums Member
#1 | Posted: 11 Aug 2005 02:54 | Edited by: csp
I was looking for a small marquee-type script that I could put on a small homepage template of my photo gallery to link to discussions in my minibb forum. The news script for minibb wasn't quite what I wanted, as my photo gallery template is small. It's scripting that you change manually to include whatever "recent" discussions you would like to highlight (ie, most popular, etc.) You open your forum homepage and copy the shortcuts to the discussions that you want to feature (can be 4, 5, 6). Each has a link on it so that it takes visitor right to that discussion on the minibb forum. Change them out manually as other topics become popular. Takes a matter of minutes daily, weekly or whenever, if you know html.

See in action here.

You can copy the coding from the source of the page, between the <span></span> tags, if it's something you'd be interested in using. :)
Author luis
Forums Member
#2 | Posted: 11 Aug 2005 06:36
i think u can use the news script for this.. just have to change the templates, and its done. i'm gonna try to do a marquee and let you know.
Author Team
8-)
#3 | Posted: 11 Aug 2005 10:36
Putting <marquee>{$contentFeed}</marquee> tags in templates/hack_1stpagenews2.html and <a href="{$linkToTopic}"><b>{$topic_title}</b></a> by {$topic_poster_name} in templates/hack_1stpagenews_cell2.html should give you the same results.
Author Team
8-)
#4 | Posted: 11 Aug 2005 10:48
Examples:

hack_1stpagenews2.html

<span class=txtNr>Recent <a href="{$linkToForum}">Forum</a> Topics:</span>
<br>
<marquee width="150" scrollamount="10">{$contentFeed}</marquee>

hack_1stpagenews_cell2.html

<span class=txtNr><a href="{$linkToTopic}"><b>{$topic_title}</b></a> by {$topic_poster_name}&nbsp;&nbsp;&nbsp;</span>
Author csp
Forums Member
#5 | Posted: 12 Aug 2005 01:08 | Edited by: csp
I'm a novice, so I may be WAY off here, so bear with me ... but,

What is the advantage of adding the 1stpagenews add-on to minibb and then adding script to 2 pages just to duplicate what can be accomplished with one small bit of script in one html page (my homepage)? Does the above do anything different, like automatically pick up the latest discussions?

I can understand if members already have the add-on incorporated into their boards, but is there an advantage to adding it just for the marquee?
Author Team
8-)
#6 | Posted: 12 Aug 2005 10:18 | Edited by: Team
The advantage is that you do not have to edit something by hand in the future. Just compile everything you need in your scripts, and your news feed will be generated automatically. You just need to moderate the forum and not to worry about news feed, since it will be generated on the fly.
Author csp
Forums Member
#7 | Posted: 12 Aug 2005 16:44
Gotcha!

Thanks! ;)
Custom Tutorials and Modifications miniBB Community Forum / Custom Tutorials and Modifications / Recent Forum Discussions in marquee style Top
Your Reply Click this icon to move up to the quoted message

» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
miniBB Community Forum Powered by Free Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts