vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - UKBL ~This Day In History ~ Changes Daily (https://vborg.vbsupport.ru/showthread.php?t=199924)

UKBusinessLive 01-19-2009 04:08 PM

Quote:

Originally Posted by abroad (Post 1717640)
Is it legal to use this content on another website?

Of course thats what its made for :rolleyes:

texasf1racer 02-19-2009 11:57 PM

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>
</td>
    </tr>
</tbody>
</if>

$template_hook[forumhome_wgo_pos5]




2.)
After paste:
HTML Code:

<tbody>
    <tr>
        <td class="thead" colspan="2">
            Daily Soup
        </td>
    </tr>
</tbody>
    <tr>
        <td class="alt2"><img src="$stylevar[imgdir_misc]/calendar.gif" /></td>
        <td class="alt1" width="100%">
        <div class="smallfont">
<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>
        </td>
    </tr>
</tbody>
$template_hook[forumhome_wgo_pos6]

All done, enjoy! :)

UKBusinessLive 02-20-2009 04:49 AM

Now that looks Great :D

Thanks for sharing :up:

DobieGillis? 02-20-2009 11:33 AM

Quote:

Originally Posted by texasf1racer (Post 1749465)
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>
</td>
    </tr>
</tbody>
</if>

$template_hook[forumhome_wgo_pos5]




2.)
After paste:
HTML Code:

<tbody>
    <tr>
        <td class="thead" colspan="2">
            Daily Soup
        </td>
    </tr>
</tbody>
    <tr>
        <td class="alt2"><img src="$stylevar[imgdir_misc]/calendar.gif" /></td>
        <td class="alt1" width="100%">
        <div class="smallfont">
<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>
        </td>
    </tr>
</tbody>
$template_hook[forumhome_wgo_pos6]

All done, enjoy! :)



excellent! I used your method! To the author, Cheers!

texasf1racer 02-20-2009 03:54 PM

Quote:

Originally Posted by UKBusinessLive (Post 1749645)
Now that looks Great :D

Thanks for sharing :up:

No problem at all, glad you like it! :D

legion! 03-07-2009 02:40 AM

In the Postbit code one there is an extra </if> statement in there...also when i use the quick reply it doesnt work right

trucker01 03-11-2009 01:57 PM

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:

hello!

if some click to " read more" how to get that new page will be open in new window ?

reg

macc

UKBusinessLive 03-11-2009 05:09 PM

Quote:

Originally Posted by trucker01 (Post 1765719)
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.

Hi Guys ;)

We need to add

Code:

target="_blank"
to the outgoing url to get it to open in a new window :D

so find this line in the code

Code:

<script language="javascript"
src="http://img.tfd.com/daily/history-top.js?0"></script>

and replace with this

Code:

<script language="javascript"
src="http://img.tfd.com/daily/history-top.js?0" target="_blank" ></script>

Actually this is a nice little trick to remember if you have menu's or urls on your site and you want them to open up in a new window as opposed to diverting people away from your site, just stick this at the end of the url
Code:

target="_blank"
Enjoy ;-)

legion! 03-13-2009 12:59 PM

Also if i put this under the first post in every thread...it wont work for firefox users when you use the quick reply

freewilley 04-22-2009 09:18 AM

nice!! thanks


All times are GMT. The time now is 02:03 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
  • Page Generation 0.01249 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete