Print Page | Close Window

MOD: Multiskin Selection

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20596
Printed Date: 28 March 2026 at 8:51pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: MOD: Multiskin Selection
Posted By: Scotty32
Subject: MOD: Multiskin Selection
Date Posted: 08 July 2006 at 5:36pm
i was going to convert a personal mod into a public release a while back.
but then i saw people was talking bout doing it them selfs, and since i was busy i decided to let others give it a try.

but i havent really seen any releases so ive finally created my own Multi Skin Selecter.


This Modification allows members and guests to change the skin of the site for them selfs only. Forum Owners are able to add unlimited skins to the list.

Since Borg wrote Version 8 primarily increasing forum performance i decided to keep within that theme. therefore this modifications Skin list doesnt run of the database, instead, it runs off an Array - simular to how the emoticons work.

Its very simple to add new skins and theres even a tutorial for the ASP Novices.

It has 2 options, run off cookies and running off the database, so you can store users skin selection as a cookie or in the database, so its the same every time they log in.

for more information and to download this mod visit my website by following this link:
http://www.s2h.co.uk/wwf/mods/multiskin_selection/ - http://www.s2h.co.uk/wwf/mods/multiskin_selection/

A Live demo can be found at:
http://webwiz.snsmedia.org/default.asp - http://webwiz.snsmedia.org/default.asp

Currently Compatible with V8.05 of Web Wiz Forum.

heres a screenshot of it in action:



-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



Replies:
Posted By: SUJO
Date Posted: 08 July 2006 at 5:53pm
Bravo!

-------------
Who are you? What do you want?


Posted By: jsaren
Date Posted: 09 July 2006 at 1:15am
this mod can  not work  with MS ACCESS.
 
sorry,it is my mistake.
It can work with MS ACCESS.
 
http://forums.webwiz.net/member_profile.asp?PF=20197&FID=19 - jeffdaro ' MOD can not work with MS ACCESS: http://www.darofamily.com/jeff/forums/forum_posts.asp?TID=113 - http://www.darofamily.com/jeff/forums/forum_posts.asp?TID=113
 


Posted By: Mikey
Date Posted: 09 July 2006 at 1:52am
Originally posted by jsaren jsaren wrote:

this mod can  not work  with MS ACCESS.


Read the install instructions....

" (only take this step if you wish to store data in the database.)
MS Access
after replacing the orginal files run the file 'ms_access_update.asp' Remember to delete this file after the successfull update "

So it appears it can work in MS Access, altho i wouldn't use Access to store my weekly shopping list, it sucks...

P.S. Great Mod Scotty


-------------
Handyman man?


Posted By: viet47772
Date Posted: 09 July 2006 at 6:40am
Can anyone  show me what is the modification of each file? because I use VenkyMOD. If I use your files, your forum maybe down.

Thanks.


Posted By: Ali Bilgrami
Date Posted: 09 July 2006 at 8:57am
looks good. by the way cant register at yer site. keeps on sayin some security authentication error occured :S


Posted By: Scotty32
Date Posted: 09 July 2006 at 9:22am
jsaren, this mod should work with Access as you can use cookies to store the data and it wont even go near the database.
and the link you posted in your message isnt to do with me, but you will not be able to use that on access as it was designed for MSSQL Server.

viet, i did plan to show the changes made though i didnt have time to do that, they may come in the future

if their are any problems with this mod, let me know, thanks


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: damaster
Date Posted: 10 July 2006 at 12:19pm
kool Mod dude I think I will give it a shot
 
ok I tried it and I am getting this messege:
 
Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file 'includes/version_inc.asp' was not found.
/forum_dm2/common.asp, line 3
 
I am using WWF version 8.01. I checked and this file is not there?!


-------------
>>>>>>> www.damasterz.com <<<<<<<


Posted By: Scotty32
Date Posted: 10 July 2006 at 1:47pm
this mod was built to be up-to-date. you will need to upgrade to version 8.03 of webwizforum.

if you have not added any other mods, you will be able to replace all files of your forum and then reply this modification.

if you have already modified your forum, you may need to check that this mod does not conflict with any of the other mods you currently have.


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: Ali Bilgrami
Date Posted: 10 July 2006 at 3:01pm
and check the versionHistory.txt so that you only update the files which are changed

-------------
Lets!


Posted By: jeffdaro
Date Posted: 10 July 2006 at 4:50pm
Thank you for this MOD, I had plans to write it this week, but it seems you've done a perfect job, based on the demo. I'll be installing later today!!!


Posted By: Scotty32
Date Posted: 11 January 2007 at 8:05pm

The http://www.s2h.co.uk/wwf/mods/multiskin-selection/ - Multiskin Selection has been updated to be compatible with the latest version of web wiz forums (Version 8.05).

Files that need replacing are:
  1. common.asp
  2. default.asp
  3. language_files/language_file_inc.asp
you are able to keep your skin_file.asp intact so you wont need to readd all your skins.

You can download the updated mod by going to the mods page, http://www.s2h.co.uk/wwf/mods/multiskin-selection/ - found here .

-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: MrMellie
Date Posted: 11 January 2007 at 11:12pm
Hi Scotty, thanks for this mod, just what I'm after!!

Have you tested the ms_access_update.asp? I think there's some bugs in it. first the form redirects to access_update.asp, not itself. Then when I fixed that, it gave an error updating the Acess table:

Database Updated Started

Stage 1: Database Connection..... Complete

Stage 2: Creating New Database Tables and Fields.....
Error Updating the Table tblAuthor
Syntax error in field definition.



Error Discription: Syntax error in field definition.


Access database is updated, but with Error!


Posted By: aydinatak
Date Posted: 13 January 2007 at 12:35am
Change this lines: (only for access)
 
strSQL = '"CREATE TABLE [" & strDbTable & "Author] ADD "
strSQL = strSQL & "[Mod_Skin] [int] NOT NULL DEFAULT (1)"
 
 
 
with :
 
strSQL = strSQL & "CREATE TABLE [" & strDbTable & "Author] " & vbCrLf
strSQL = strSQL & "(" & vbCrLf
strSQL = strSQL & "[Mod_Skin] int NOT NULL" & vbCrLf
strSQL = strSQL & "Default 1" & vbCrLf
strSQL = strSQL & ")" & vbCrLf
 
and try again. I tested localhost and working.


Posted By: Scotty32
Date Posted: 13 January 2007 at 9:28am
i'll have to have a look at it but i cant see their being a problem as no ones ever mentioned this before, and ive never changed the file since the original release.

also the file is based off the WWF upgrade (v7 to v8) so shouldnt really have any problems.

i had a quick look at the MSSQL file and it and it doesnt appear to redirect to the access file. also is this the first time you've used this mod?
as if you've used it before you dont need to run the database update files, you only need to replace the files


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: iSec
Date Posted: 14 January 2007 at 11:49am
Scotty, great mod as always...
just one thing... and i didn't research it yet
I'm sure it is something simple.. bu thought of informing
you about it....
there is an extra cell that appears when a birthday
event appears... here is an image of how it looks on my forum
 


Posted By: Scotty32
Date Posted: 14 January 2007 at 4:18pm
ah sorry i didnt notice this - mostly because my test forum doesnt have any members/birthdays.

if you want to fix it your self, just add
<td colspan="2">

to the birthday title and content cells

i'll fix and upload by the end of tonight


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: iSec
Date Posted: 14 January 2007 at 9:35pm
Great, thanks buddy.


Posted By: MrMellie
Date Posted: 15 January 2007 at 12:46pm
Originally posted by Scotty32 Scotty32 wrote:

i'll have to have a look at it but i cant see their being a problem as no ones ever mentioned this before, and ive never changed the file since the original release.also the file is based off the WWF upgrade (v7 to v8) so shouldnt really have any problems.i had a quick look at the MSSQL file and it and it doesnt appear to redirect to the access file. also is this the first time you've used this mod?as if you've used it before you dont need to run the database update files, you only need to replace the files
It's not the MSSQL file, it's the Access one.

ms_access_update.asp Line 156:

<form name="frmLogin" id="frmLogin" method="post" action="access_update.asp" onsubmit="return CheckForm();">

This is the first time I've used the mod, so I will need to run the database update files to set it all up correctly. The MS_SQL file worked fine for me (I have both DB types setup on my test rig).

[reason for edit: got dyslexic on the line number! should be 156 not 165]


Posted By: MrMellie
Date Posted: 15 January 2007 at 12:49pm
Originally posted by aydinatak aydinatak wrote:

Change this lines:

 

strSQL = '"CREATE TABLE [" & strDbTable & "Author] ADD "strSQL = strSQL & "[Mod_Skin] [int] NOT NULL DEFAULT (1)"

 

 

 

with :

 

strSQL = strSQL & "CREATE TABLE [" & strDbTable & "Author] " & vbCrLfstrSQL = strSQL & "(" & vbCrLfstrSQL = strSQL & "[Mod_Skin] int NOT NULL" & vbCrLfstrSQL = strSQL & "Default 1" & vbCrLfstrSQL = strSQL & ")" & vbCrLf

 

and try again. I tested localhost and working.
Thanks, I'll give this a try tonight.


Posted By: Scotty32
Date Posted: 18 January 2007 at 8:29pm
This mod has been updated to v1.02 and has been released to fix a minor error that came from the last update.

only file that needs updating is the default.asp file.

i have also fixed the problem with the MS Access update file, so people with an Access database will now be able to store members choices into the database

you are able to keep your skin_file.asp intact so you wont need to re-add all your skins.

You can download the updated mod by going to the mods page, http://www.s2h.co.uk/wwf/mods/multiskin-selection/ - found here .


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: MrMellie
Date Posted: 18 January 2007 at 8:59pm
Great, thanks Scotty!

Did you fix the formatting problem with the What's Going On section? I ended up having to add 3 colspan="2"'s and changing 3 existing colspan="2" to colspan="3" to get it to work (active users and forum stas were affected too). Well worth the effort though.

[edit]Ok, lazy-arse here downloaded the update and see you've fixed it the same way.   


Posted By: MortiOli
Date Posted: 20 February 2007 at 8:58am
Scotty, as discussed on the WebWiz Skins forum;
 
http://webwiz.snsmedia.org/forum_posts.asp?TID=67&PID=198#198 - http://webwiz.snsmedia.org/forum_posts.asp?TID=67&PID=198#198
 
 
Quote Does anyone have any code to show stats based on the skin chooser mod?
 
Ie, 'Most Popular Skin' etc etc?
 
Maybe something in members profiles to show what skin they're currently using?
 
Can't really think of anything else, except maybe an admin interface to add new skins (so people don't have to edit the include file)?  And to show how many people are using each skin.  Ie;
 
Default Skin (156)
ArmyV2 (75)
PHPBB2 (84)
 
 
Not really much you could add as extras really, but the 'most used skin' would be good to show on the main page.


Posted By: Shaun
Date Posted: 21 February 2007 at 6:13am
I'm having a bad time with all these add ons/ mods LOL..

Scotty, I get this error:

====================
Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtSelectSkin'

/forum/forum/Default.asp, line 849
====================

The line that relates to is:

<td><% = strTxtSelectSkin %></td>

This is the 1st time I've tried this mod etc.

I skipped the Database stuff (as per your instructions) as I don't want to store data in the DB.

I haven't done anything with the language file (I'm not changing it).

I don't have any previous added skins (I'm working on a fresh 8.05 install)

All I did was copy over all the files as per your instructions and that's what happens to the forum (it displays that error right under the Birthdays bit - Then displays nothing else).

Am I really a spanner, cos I'm sure thousands of other peeps have used this mod before me LOL.

What am I doing wrong matey?

Cheers,
Shaun


Posted By: MrMellie
Date Posted: 21 February 2007 at 8:52am
Quote I haven't done anything with the language file (I'm not changing it).
 
And therein lies your problem. You need to update the language file with the required Multiskin Selection modifications.


Posted By: Shaun
Date Posted: 21 February 2007 at 9:58pm
Cheers Ric - You're a star fella!!

I'll buy you a beer one day, in fact I'll buy you two (when I get your 10 latest topics working LOL)

Take care,
Shaun


Posted By: MortiOli
Date Posted: 13 March 2007 at 11:50pm
Has anyone thought of a way to modify the google_adsense_inc.asp file to cater for the multiskin mod?
 
Ie, (after you purchase a licence), you would like to run Google ads in the WWF default position, but pull through colours relating to the selected skin.
 
If I have a dark background for my Ads, they look out of place on a light skin etc.


Posted By: Scotty32
Date Posted: 14 March 2007 at 12:13pm
this isnt to do with the MultiSkin mod, or any skins for that matter.

Originaly, WWF had the Ads CSS code in the CSS file.

but when WWF stopped using its own ad system and went back to google.
but ads are now inside an iFrame which stops the CSS file styling them.

so to be breif - you cant.

i suspect that this might of been done to stop people using CSS to hide the adverts.


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: ruycnd
Date Posted: 02 April 2007 at 9:59pm
Wink


Posted By: Scotty32
Date Posted: 05 April 2007 at 6:42pm
am afraid MySQL isnt supported as i havent been able to create a MySQL update file or do any testing as i dont use MySQL for any forums.

the MSSQL update file is not for MySQL but only for MSSQL.

i have no idea why it would be saving for All users, are you sure your using my mod from www.S2H.co.uk?

also have you modified the forum in any other way? or added the mods your self?

if i get any time i will try to look into MySQL support but am very busy at the moment.


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: ruycnd
Date Posted: 10 April 2007 at 12:37am
Wink


Posted By: Scotty32
Date Posted: 11 April 2007 at 7:41pm
ok, since i havent done any testing with a MySQL database am not sure if its coded wrong for MySQL, but i would assume its compatible.

if all you've edited is the register.asp file you should be able to just copy over the Mods files without having to enter the code your self. as the mod doesnt change the register.asp file.

the part that acctually saves the skin is in "functions/functions_forumskins.asp" with the following:

            strSQL = "SELECT " & strDBTable & "Author.Mod_Skin FROM " & strDBTable & "Author WHERE " & strDBTable & "Author.Author_ID = " & lngLoggedInUserID & ";"

            rsCommon.Open strSQL, adoCon,3,3
            if not rsCommon.EOF and not rsCommon.BOF then
                rsCommon("Mod_Skin")    = intSkinID
                rsCommon.Update
            end if
            rsCommon.Close

the part in red is acctually telling it to only update where the users id is the same as the currently logged in user, ie only update the skin for the user who requested it.

so its rather strange why its updating ALL users.

check the above code is the same as what you've added to your files and if the problem continues i recommend using the Store to Cookies option.


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net