Website Button

Started by jake1981, May 19, 2007, 04:03:26 PM

Previous topic - Next topic

jake1981

Link to Mod

..------=================================
Website Button (wsbutton)
Version 1.1.1

Author: Oskari Rauta/Jake Irons
-----------=======================-------------..

What's new in 1.1.1?
- Fixed couple of typos in readme :)

This mod adds a new button to your forum's navigation bar: website (text can be changed from language file).

It also adds section website to your forum's settings where you can set URL for it.

What is this kind of mod good for? Well, if you have a portal/forum is integrated to site, for e.g. with mkportal, you might want to exit forum to website WITHOUT logging out as you might have there features that require that user is logged on. Most other forums have this feature but smf did miss it. Apply this mod if you need such feature.

It's designed to mimic other forum buttons so it fits very nicely. This mod includes also image buttons for babylon and classic themes in 2 languages: english and finnish.

This mod supports multiple languages and offers out of the box support for english and finnish (if board has finnish language installed). Also if you use core/default theme(buttons without images) and other language than english or finnish, this mod detects that it has not been translated yet for that language and defaults to english. (Not for admin panel though, admin panel part supports english and finnish and if you use other language, you need to add support for your language by changing language files)

Language support: yes, provided: english & finnish
Skin support: yes, provided: core/default, classic and babylon

Works just great with portals / site-integration.
I no longer provide support or updates to any of my MODs nor I provide any new themes or MODs in anywhere else expect on my own site (and yes, there's nothing in there) expect for those MODs that I already sent to here that have not yet been approved and if approval requires any changes, I won't provide them no more.

rehan

Firstly Thanks for sucha great MOD.. i was looking for it..
I installed it with city scape theme.. i can set the url from "features and options" but its not appearing..
any suggetions...

samozin

man. thats  good  work but it still needs more work ....ur mod just can add one button ..... and u cant customize the name of the website button

and u need to to tell from where one can change the website url
i couldnt  know it untill rehan told where to get it

rehan

but mine is not showing.. i think its disabled frm somewhere... :S :S

TEOC2

Here is the settings menu.


rehan

i did it but still its not showing.. is it coz of my theme (city scape)??

TEOC2

In the default theme, this is the settings page,


^click to enlarge^

nitsua

is there a way that instead of it saying "website" can I make it say something else?

axlarry

Quote from: binklespup on May 21, 2007, 07:22:23 PM
In the default theme, this is the settings page,


^click to enlarge^

I can't see the "website" button. I'm using default theme.
any clue?

Greengoat

Is there a way to duplicate the button and rename the new one?

For instance one website button labeled "website 1", and another button labeled "website 2".  I will probably give this one a try even for just one button, but having two would be even better.

Thanks.

forumnet.be

If you need help translating to Dutch give me a yell ...  ;D
Send me the files that need a translation. I'm not good in browsing, uploading, and stuff... only in translation.  ;)

Patrick.
www.forumnet.be/aarschot
www.programsofprofit.com/forum
www.netwerkers.info

nitsua

i really am not one to double post but can someone answer this question?

Is there a way that instead of it saying "website" can I make it say something else?

Davey D.

Looks like the developer made this and then ran for the border.

bolo1122

IF it's not for the Family, It's not for ME!!

celijakija

Quote from: axlarry on May 23, 2007, 05:04:10 PM
Quote from: binklespup on May 21, 2007, 07:22:23 PM
In the default theme, this is the settings page,


^click to enlarge^

I can't see the "website" button. I'm using default theme.
any clue?
Quote from: axlarry on May 23, 2007, 05:04:10 PM
Quote from: binklespup on May 21, 2007, 07:22:23 PM
In the default theme, this is the settings page,


^click to enlarge^

I can't see the "website" button. I'm using default theme.
any clue?

change the default forum language to english...it worked for me...then change the url and return to your normal language....

gffb

Quote from: nitsua on May 22, 2007, 07:11:33 PM
is there a way that instead of it saying "website" can I make it say something else?

Try this...
look for file boarddir/Themes/default/languages/ModSettings.english.php
then look for $txt['websiteButton_title'] = 'Website';
and chnage the word Website to suit your needs.

TimL

Quote from: gffb on June 04, 2007, 02:04:26 PM
Try this...

Try this means, "it might work. It doesn't.

gffb


Anafiel

Mod works fine, and was able to modify text to be more consistent with my site, but I DO have an issue.

I would like a new window spawned, instead of opening the "website" in the same window.  I don't want to replace the forum with the website as it does now.

Can this be done?

Anafiel
Hand Crafted Heirloom Quality Ceramics
hxxp:www.storybookceramics.com [nonactive]

gffb

Try looking for <a href="', isset($modSettings['websiteButton_url' and place target="_blank" before the href so you end up with something like this <a target="_blank" href="', isset($modSettings['websiteButton_url'.

There are a few instances of the in index.template I am not sure which one it is but always make a backup of any file you change .

Advertisement: