Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
UKBL ~ "Save As Homepage" Button Details »»
UKBL ~ "Save As Homepage" Button
Version: 1.00, by UKBusinessLive UKBusinessLive is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.1 Rating:
Released: 02-05-2009 Last Update: 02-05-2009 Installs: 13
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

UKBL ~ "Save As Homepage" Button

There are loads of bookmark us hacks and add to social sites, but would you like your members to save your forum as their Homepage, as opposed to just a link in their favorites

Works only with Internet Explorer at the moment a second file with a Text Link based alternative is now available for Firefox in the downloads section

Just a quickie here, when i did a search earlier for a hack which would let me save my site as my homepage, i couldn't find any, but now we'll be able to give that option to all our members, with a Make your Forum a Homepage Button.

Its a very small but effective script which sites quitely in your styles footer template, and produces a nice button which members will be dying to click.



Now your members will not have an excuse not to visit your forum when they switch on their PC

So, what do we do ??

This is really easy..

Download the bookmark.zip file and in there you'll see bookmark.txt, Just open this file in Notepad and look for the following

Code:
<input type="button" value="Make UKBusinesslive your Home Page"
Thats the Button Description, Replace "UKBusinesslive" with the name of your forum,

Then you need to work alone a bit until you see the following....

Code:
setHomePage('http://www.ukbusinesslive.co.uk/forum/index.php');">
and simply change my url for your own

Then save, next you need to copy and paste the script to the footer of the style that your using. That will add the button to the footer of your site, you can of course experiment and add it where you want, but i think the footer is a safe bet

Thats it, told you it was a quickie

For Firefox Users

The second Zip file Bookmark for Firefox.zip is a text based link which will work with either IE or Firefox, But will only save your Page to the favorites. as with the above, Just open the file in notepad and edit my details for yours

Now you can chose one or the other or both





Click install if you use and i'll support you 100%

Enjoy :up:

Download Now

File Type: zip bookmark.zip (50.2 KB, 71 views)
File Type: zip Bookmark for Firefox.zip (100.4 KB, 84 views)

Screenshots

File Type: png bookmark.png (53.0 KB, 0 views)
File Type: png fire1.png (51.1 KB, 0 views)
File Type: png fire2.png (50.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-06-2009, 02:36 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved
Reply With Quote
  #3  
Old 02-06-2009, 02:56 PM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

only works for ie?
Reply With Quote
  #4  
Old 02-06-2009, 03:01 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cad2go View Post
only works for ie?
Apologies, Yes only for IE at the moment :up:

Edit:

I've added an add on which will work with both IE and Firefox, Its just a text link, but it works

Reply With Quote
  #5  
Old 02-07-2009, 04:14 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is a shame that its not possible to make something like this that works for all browsers, it would be a neat feature to have.
Reply With Quote
  #6  
Old 02-07-2009, 05:15 AM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
It is a shame that its not possible to make something like this that works for all browsers, it would be a neat feature to have.
With Javascript you cannot add the save as homepage to Firefox, it just won't work, unless theres some some add on from mozilla to allow this, You can give your members the 2nd option, and save as bookmark.

However i'm still looking at this, so watch this space
Reply With Quote
  #7  
Old 02-07-2009, 10:44 AM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you considered hiding the button from firefox? (And vice versa) The javascript is just a google away.

I see it on your site and can click it but it doesn't add a bookmark. People might think they've bookmarked you, leave then a few days later think 'oh i'll go back to that site I bookmarked', and to their absolute horror discover they hadn't bookmarked you at all.

fyi from the forum I admin at:
1. Internet Explorer49.54%
2. Firefox 39.52%
3. Safari 5.62%
4. Chrome 2.78%
5. Opera 1.89%
6. Playstation 3 0.26%
7. Camino 0.15%
8. BlackBerry9000 0.08%
9. HTC_P3700 Opera 0.05%
10. Mozilla 0.05%
Reply With Quote
  #8  
Old 02-07-2009, 11:51 AM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cad2go View Post
Have you considered hiding the button from firefox? (And vice versa) The javascript is just a google away.

I see it on your site and can click it but it doesn't add a bookmark. People might think they've bookmarked you, leave then a few days later think 'oh i'll go back to that site I bookmarked', and to their absolute horror discover they hadn't bookmarked you at all.

fyi from the forum I admin at:
1. Internet Explorer49.54%
2. Firefox 39.52%
3. Safari 5.62%
4. Chrome 2.78%
5. Opera 1.89%
6. Playstation 3 0.26%
7. Camino 0.15%
8. BlackBerry9000 0.08%
9. HTC_P3700 Opera 0.05%
10. Mozilla 0.05%

Thanks for that, still shows IE on top, I think hiding it in firefox and vice versa is the way to go, i will look into this and edit the code accordinly.

Reply With Quote
  #9  
Old 02-17-2009, 05:30 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So im not sure i understand..

Do we want to use both, or just the one that works with both IE & Firefox..!?
If the 1st one only works with IE, why would anyone use that one..?
Reply With Quote
  #10  
Old 02-17-2009, 04:35 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamelobby View Post
So im not sure i understand..

Do we want to use both, or just the one that works with both IE & Firefox..!?
If the 1st one only works with IE, why would anyone use that one..?
Choice is yours, I have mainly all IE users on my site, I'm the only one that sometimes uses FF, Its up to you, I give you a choice
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:29 AM.


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.06394 seconds
  • Memory Usage 2,329KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete