![]() |
UKBL ~This Day In History ~ Changes Daily
1 Attachment(s)
UKBL ~This Day In History ~ Changes Daily This Day in History, Add this to your Forum for some really cool content that changes Daily 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 :D
|
Cool.. was there a way to put Quotation of the Day and Today's Birthday too? :)
|
Quote:
|
great work :)
|
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 |
Nice work! I used it to create a template module for use on vBadvanced CMPS.
|
Quote:
|
Quote:
You'll find it towards the bottom of the page ;) I edited the css tags to match my style. |
that is so cool, brilliant :D
|
Marked as *installed*
Nice mod, had to use it in footer, tried the forum and it wouldn't show. |
Quote:
|
Great work.. Linked it to my Historic Calendar.. Thanks
|
Quote:
|
use this code or everything will be centered
<div align="center"><!--This Day in History by TheFreeDictionary.com--> <div style="width:750px;position:relative;background-color:;padding:4px"> <div style="font:bold 15pt '';color:#000000">This Day in History</div> <style> #TodaysHistory {width:100%;border:none;background-color:} #TodaysHistory H3 {margin-top:0px;font:bold 12pt '';color:#000000} #TodaysHistory TD {font:normal 10pt '';color:#000000} #TodaysHistory A {color:#0000FF} </style> <script language="javascript" src="http://img.tfd.com/daily/history-top.js?0"></script> <div style="font:normal 8pt '';color:#000000"> </div></div> <!--end of This Day in History--></div> |
Thanks for that Steve :D
|
now this is dandy!!!! love this! makes my site filled with history
|
Glad you liked it :D
|
Is it legal to use this content on another website?
|
hello!
if some click to " read more" how to get that new page will be open in new window ? reg macc |
Quote:
|
1 Attachment(s)
Great mod, thanks for releasing this!
On my site however I decided to add it to the bottom of the 'Whats Going On?' box. See sample screen shot attached. If you'd like to do the same you'll need to edit your FORUMHOME template. 1.) AdminCP->Style Manager->Edit Templates->FORUMHOME Look for: HTML Code:
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div> 2.) After paste: HTML Code:
<tbody> |
Now that looks Great :D
Thanks for sharing :up: |
Quote:
excellent! I used your method! To the author, Cheers! |
Quote:
|
In the Postbit code one there is an extra </if> statement in there...also when i use the quick reply it doesnt work right
|
thnx for this is looking great :D
marked as installed. was wondering about the same thing also.... is a bit annoying for the users to revert back to our place. Quote:
|
Quote:
We need to add Code:
target="_blank" so find this line in the code Code:
<script language="javascript" Code:
<script language="javascript" Code:
target="_blank" |
Also if i put this under the first post in every thread...it wont work for firefox users when you use the quick reply
|
nice!! thanks
|
a long shot, but is there a sports news version of this?
because i have not installed this, i'll forget to check. could you please pm me if there is one? thanks |
Thank you. I just installed this yesterday.
I am wondering how, if possible, to make the MORE and DISCUSS links open into a new window rather than take people off of my site? |
Another excellent addition I've used from you! Thank you so much! You really are improving my forum no end with your mods! :)
|
Is there a way to modify the code slightly so that you can put it in a post?
PHP Code:
|
What's the response from users on this? I just added it below the lounge.. I'll see. to me it's cool but hope its not cheesy to them :)
|
Quote:
|
Is there any way to change the topic and content? I want to make mine more related to the topic.
|
Quote:
here is what i have. <DIV ALIGN=CENTER> <!--This Day in History by TheFreeDictionary.com--> <div style="width:750px;position:relative;background-color:#FFFFFF"> <div style="font:bold 15pt '';color:#000000"></div> <style> #TodaysHistory {width:100%;border:none;background-color:} #TodaysHistory H3 {margin-top:0px;font:bold 12pt '';color:#000000} #TodaysHistory TD {font:normal 10pt '';color:#000000} #TodaysHistory A {color:#0000FF} </style> <script language="javascript" src="http://img.tfd.com/daily/history-top.js?0" target="_blank" ></script> <div style="font:normal 8pt '';color:#000000"> </div></div> <!--end of This Day in History--> |
Works great, However is it possible to have the topics about anything else ?
|
All times are GMT. The time now is 05:53 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:
|