News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Theme Changer

Started by SMFHacks.com Team, April 23, 2012, 06:38:02 PM

Previous topic - Next topic

vbgamer45

What link is in your url?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

tanawat

ex:
http://pordoo.com/b67/
when change theme it come to 
http://pordoo.com/b67/index.php?theme=1
(Not Found
The requested URL /b67/index.php?theme=1 was not found on this server.)


my web site www.pordoo.com

vbgamer45

This mod doesn't work with pretty urls other url rewrite mods

You would have to make changes to cls.tc.js for this mot to work.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

tanawat

 :D

If given all page redirect to homepage (when change theme) together with new theme change,
how to modify code ?

felizycontento

I get no change when switching the theme. You can check in https://acspain.es

Thanks

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

felizycontento

Quote from: vbgamer45 on September 14, 2017, 04:14:16 PM
You are missing this file
https://acspain.es/Themes/default/scripts/cls.tc.js

The file is there, I can see it through ftp, but it is not shown in a browser. Can it be something about the server configuration?

vbgamer45

Yes file permissions or file owernship issue.

try 755 permissions
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

felizycontento

Quote from: vbgamer45 on September 14, 2017, 05:17:47 PM
Yes file permissions or file owernship issue.

try 755 permissions

I have set 755 permissions for all these three files

/home/admin/web/acspain.es/public_shtml/Themes/default/languages/cls.english.php   
/home/admin/web/acspain.es/public_shtml/Themes/default/languages/cls.dutch.php   
/home/admin/web/acspain.es/public_shtml/Themes/default/scripts/cls.tc.js   

It keeps doing nothing at all

Shambles

Quote/home/admin/web/acspain.es/public_shtml/Themes/default/scripts/cls.tc.js

Is public_shtml the root of your forum? Do you have a public_html 'folder'?

The named files do not exist, as confirmed by "view page source" and browser console.

felizycontento

Quote from: Shambles on September 15, 2017, 07:08:31 AM
Quote/home/admin/web/acspain.es/public_shtml/Themes/default/scripts/cls.tc.js

Is public_shtml the root of your forum? Do you have a public_html 'folder'?

The named files do not exist, as confirmed by "view page source" and browser console.

Yes I have a public_html folder and is there where my domain is pointing  >:(

Dont know why the mod has been instaled in the public_shtml

I moved it and working fine. Thanks

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickie

Hi, I am curious if there is an easy way to add text to the left of this mod?
Something like :
"To view all available themes us this drop down -->"
It is small (Which I like) but I am not sure everyone will notice it.

vbgamer45

Possibly look at the code and give it a shot.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickie

Quote from: vbgamer45 on October 27, 2017, 11:22:31 AM
Possibly look at the code and give it a shot.

I have gone through every one of the files.
I can not see a place to create any kind of customizing or styling of this

pocttopus

Hello,

This mod is not working after installing prettyUrls.
http://forum.mkreef.com/forum/

I looked for public_shtml but I don't have that folder.
Any advice please? :(

Thanks! :)

pocttopus


Sir Osis of Liver

Installed this mod on 2.0.17 forum last night, tested it and worked fine, theme setting was changed in user profile and it stuck.  Today it's not working fine, theme changes when you're logged in, but reverts back to default if you logout/login.  Setting doesn't stick. >:(
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Antechinus

Yes, it would do that. When you are logged in it saves the setting to your user settings. Guests have no user settings, so when you are logged out it will think you are just another guest. This is common with anything that relies on user settings. The default header upshrink is an example. Collapsed categories are another.

Sir Osis of Liver

No, that's not what I said.  When I first installed the mod, you could change the theme while logged in, logout and see default theme, log back in and see theme you changed it to.  It updated the member setting, same as if you did it manually in profile.  Now it doesn't do that, you see the new theme until you log out, log back in and you're back to default theme.  Doesn't save the setting.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: