Page 4 of 17

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

Posted: Thu Aug 07, 2008 10:37 am
by Tuplad
Because it doesn't work for me :lol:

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

Posted: Thu Aug 07, 2008 10:46 am
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

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

Posted: Thu Aug 07, 2008 11:34 am
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

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

Posted: Thu Aug 07, 2008 12:03 pm
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

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

Posted: Thu Aug 07, 2008 12:43 pm
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

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

Posted: Thu Aug 07, 2008 12:55 pm
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

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

Posted: Thu Aug 07, 2008 1:23 pm
by naushadhassam
works fine :D

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

Posted: Thu Aug 07, 2008 2:31 pm
by Tuplad
Weird, I've deleted the "en" folder but it still appears in the settings.

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

Posted: Thu Aug 07, 2008 2:54 pm
by IPB_Refugee
And you purged the cache on the main page in ACP, too?

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

Posted: Thu Aug 07, 2008 2:55 pm
by IPB_Refugee
Arghh, sorry, look in ACP under System tab. There you can manage the languages. :)

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

Posted: Thu Aug 07, 2008 5:01 pm
by Tuplad
Yeaaah! Fat!

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

Posted: Tue Aug 26, 2008 5:44 pm
by RobE
Is it also possible to make guests choose a style they want?

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

Posted: Tue Aug 26, 2008 11:07 pm
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

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

Posted: Wed Aug 27, 2008 7:23 am
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.

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

Posted: Wed Aug 27, 2008 8:35 am
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!