![]() |
This Day In History ~ Changes Daily
This Day in History
Just a Little hack here which you can add to your Forums, Give you a bit of content which changes daily, Should keep your members amused. You can use this code in a variety of places, If you want it at the top of your forum you can add it to your header like below... https://vborg.vbsupport.ru/external/2008/12/10.png or if you want to be a bit creative you can make a new category and add the code to the discription field, this is great if you want to break up your forum like this... https://vborg.vbsupport.ru/external/2008/12/11.png Content changes daily and your members can read up more about the Day in History directly at the http://www.thefreedictionary.com/ site. So lets do it...... If you want to add the code to your header, or footer, simply go to your ACP > Style Manager > Your Style and add this to either the Header or Footer Code:
<DIV ALIGN=CENTER> In the title add : This Day In History In the discription add the code below.. Code:
<DIV ALIGN=CENTER> *****************UPDATE********************** If you wanted to add this as an insertion after each 1st post you could use the code below (See picture ;) ) This will show it after each 1st post in threads https://vborg.vbsupport.ru/external/2008/12/8.png Just go to your ACP> Style Manager> Your Style> Edit Templates> Forum Display Template> Postbit Template > (then your chosen Positbit ~ either plain postbit or legecy) Add this code to the very end of your postbit template Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> Thats it Enjoy :D |
:D Reserved :cool:
|
weird... went to your forum, and my IP is banned lol.
*reserved* |
Quote:
|
why ban IP's though.. for guest viewing ?
Surely some good captcha code upon registration would thwart spammers. |
Quote:
The site is mainly UK Business Related So i really don't need Asian, Eastern Block or Russian members signing up Nothing personal, Send me your IP and i'll make sure its cool ;) |
Works great for me.... Totally cool. Just have to figure out where to put it... I have it in my footer now but I think a forum would be better.
Thanks.. no problems with install. |
I decided to use it as a forum, even off topic. It gets people talking. :)
|
Very nice, thanks you =)
|
Quote:
|
This is verrry nice!!!
However, since my site is music related, I wonder if I can "pull" data from another source like: http://www.thisdayinmusic.com/ http://datadragon.com/day/ Anyway, it's great mod indeed! :) |
Hey James
let me know how that works. I would like to do the same if I can figure it out. |
Quote:
Take the RSS feeds from those sites and parse them through that program so they're html and it would be pretty much the same as this. like here is one for your first link This Daily Music Sorry to go off topic :o |
Just updated with additional code to make it as 2nd post of each thread
https://vborg.vbsupport.ru/external/2008/12/8.png Might be useful to use it as a sponsored advert, by adding a text ad to the bottom of the code ?? Enjoy :D |
Quote:
* I clicked installed * |
Thanks, just one thing i had to change the code because it aslo centered the Currently Active Users:
Code:
<div align="center"><!--This Day in History by TheFreeDictionary.com--> |
This is really cool, Thanks!
|
Quote:
|
Ok I am new to all these adding things to the site but I like this. Is there anyway do you think that it could be changed to do all Disney information.
I run a Disney site and would love it to do "This day in History" for it. If you think it can and you can walk me through it I would love it. Thank you, Scott |
Quote:
Hi Scottny Thanks for your idea, however the information comes directly from the http://www.thefreedictionary.com/ site. I have not control over the content unfortunately :( |
Ok
thanks for the reply. |
I know this is a great mod, but sadly im blooming useless and i think i have killed everything.. PLEASE HELP.....
i added it using the within a forum option, and now all my margins have gone nutty and dont look right anymore, even after i have removed the added forum.... PLEASE HELP.... b4 the misses see's ive just killed her site...... HHHEEEELLLLLPPPP ANYONE...... |
Quote:
|
Thanks friend... great add-on..... once i was saved from myself... lol
I'd like it to link to poetry, but i think im best just leave it alone ah lol cheers poetrymansion |
I installed this in a thread and made it a sticky :) cool idea!
|
Quote:
|
Quote:
|
Quote:
|
Quote:
I went to the site provided by the coder and did Option 2.2 http://www.thefreedictionary.com/lookup.htm#sitecontent (I added <div center=align> code </div> to center it) here is my thread http://www.chicagophotoshop.com/foru...read.php?t=900 |
Nice Idea :D
|
Thank you. Very nice.
Any way to make the MORE and DISCUSS links open into a new window rather than taking people away from the site? |
Quote:
Code:
<A HREF="newwindow.html" TARGET="_blank">a new window</A> Find this line of code Code:
src="http://img.tfd.com/daily/history-top.js?0"></script> src="http://img.tfd.com/daily/history-top.js?0 "TARGET="_blank"></script> |
All times are GMT. The time now is 05:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|