[MODDB] Prime Quick Style - Switch styles from any page

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Tuplad
Registered User
Posts: 22
Joined: Sun Feb 10, 2008 11:36 am

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by Tuplad »

Because it doesn't work for me :lol:
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by IPB_Refugee »

Have you uploaded the altered files to the correct folders on your webspace?
Did you purge the cache of your template?
Did you purge the complete cache on the main page in ACP?
When you use a style that is not prosilver or subsilver: Did you alter your style's overall_header.html?

If all answers are yes, please put all related files in a .zip container and provide a download link.

Regards
Wolfgang
Tuplad
Registered User
Posts: 22
Joined: Sun Feb 10, 2008 11:36 am

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by Tuplad »

IPB_Refugee wrote:Have you uploaded the altered files to the correct folders on your webspace?
Did you purge the cache of your template?
Did you purge the complete cache on the main page in ACP?
When you use a style that is not prosilver or subsilver: Did you alter your style's overall_header.html?

If all answers are yes, please put all related files in a .zip container and provide a download link.

Regards
Wolfgang
Yes I did.

Here is the zip: http://www.rapgeneration.net/includes.zip
http://rapgeneration.net/index.php for a preview
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by IPB_Refugee »

Hi,

I registered on your board and chose English as language. Now I have this error directly after logging in:
General Error
Language file activity_stats.php couldn't be opened.
Do you have more than one style and are people allowed to use the style they want? There is a permission in ACP/board configuration that is called override user's style (or something similar). This option has to be set to "no".

Regards
Wolfgang
Tuplad
Registered User
Posts: 22
Joined: Sun Feb 10, 2008 11:36 am

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by Tuplad »

Whoa! I didn't think it was possible to choose languages, can I disable it ?

Thanks for reporting the bug btw, I'll fix it asap, and I'll also delete your account because we send some mass mail often and I don't think you'll like that.

And oh, it's working now! I did that thing in ACP :D
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by IPB_Refugee »

Glad you got it working. :) In ACP/board configuration choose your mother tongue as default language and then simply delete the folder /language/en/

Regards
Wolfgang
naushadhassam
Registered User
Posts: 506
Joined: Wed Aug 15, 2007 9:57 pm
Contact:

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by naushadhassam »

works fine :D
Free Hosting - Here
Sports Entertainment Online ( A PS3 Online Gaming Community ) - Here
FREE UNLIMITED HOSTING FOR PHPBB MOD MAKERS - PM ME FOR MORE INFO ( MY WAY ON DONATING TO PHPBB )
Tuplad
Registered User
Posts: 22
Joined: Sun Feb 10, 2008 11:36 am

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by Tuplad »

Weird, I've deleted the "en" folder but it still appears in the settings.
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by IPB_Refugee »

And you purged the cache on the main page in ACP, too?
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by IPB_Refugee »

Arghh, sorry, look in ACP under System tab. There you can manage the languages. :)
Tuplad
Registered User
Posts: 22
Joined: Sun Feb 10, 2008 11:36 am

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by Tuplad »

Yeaaah! Fat!
RobE
Registered User
Posts: 46
Joined: Fri Dec 09, 2005 7:59 pm
Location: Holland
Contact:

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by RobE »

Is it also possible to make guests choose a style they want?
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by MartectX »

RobE wrote:Is it also possible to make guests choose a style they want?
Try this: http://www.phpbb.com/community/viewtopi ... 5#p5646645
User avatar
primehalo
Former Team Member
Posts: 2904
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by primehalo »

That fix doesn't work for this. Since it's been requested several times, I looked into it and found a way to implement the feature. It has been incorporated into the new version.

Version 1.2.0
  • Moved the code into a class structure, inside a separate file.
  • Allow guests to change styles.
Update instructions are in the contrib folder.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC1] Prime Quick Style - Switch styles from any page

Post by MartectX »

Thanks primehalo, it's great that you used cookies to save the setting for guests!! :D

:arrow: Just one minor thing: The update file reads "Prime Trash Bin 1.2.0" and you forgot the edits to session.php!
Last edited by MartectX on Wed Aug 27, 2008 8:58 am, edited 1 time in total.
Locked

Return to “[3.0.x] MODs in Development”