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 ~ "Save As Homepage" Button (https://vborg.vbsupport.ru/showthread.php?t=204461)

UKBusinessLive 02-05-2009 10:00 PM

UKBL ~ "Save As Homepage" Button
 
1 Attachment(s)
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.

https://vborg.vbsupport.ru/external/2009/02/108.png

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

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 :D

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 :D

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 :D

Now you can chose one or the other or both :D

https://vborg.vbsupport.ru/external/2009/02/109.png

https://vborg.vbsupport.ru/external/2009/02/107.png

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

Enjoy :up:

UKBusinessLive 02-06-2009 02:36 PM

:D Reserved ;)

cad2go 02-06-2009 02:56 PM

only works for ie?

UKBusinessLive 02-06-2009 03:01 PM

Quote:

Originally Posted by cad2go (Post 1736185)
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 :D

https://vborg.vbsupport.ru/external/2009/02/107.png

Hornstar 02-07-2009 04:14 AM

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.

UKBusinessLive 02-07-2009 05:15 AM

Quote:

Originally Posted by hornstar1337 (Post 1736768)
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 :D

cad2go 02-07-2009 10:44 AM

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%

UKBusinessLive 02-07-2009 11:51 AM

Quote:

Originally Posted by cad2go (Post 1736910)
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.

;)

Gamelobby 02-17-2009 05:30 AM

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..?

UKBusinessLive 02-17-2009 04:35 PM

Quote:

Originally Posted by Gamelobby (Post 1746563)
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 :D


All times are GMT. The time now is 05:26 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.01143 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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