Topic: is it possible to hyperlink to a style?

admin - options - default style is where you can change the style (design); my question is: is it possible to link to my website to different styles?

example:

- site A links to my forum site as www.forumsite.org/?style=a
- site B links to my forum site as www.forumsite.org/?style=b

if someone clicks from site A to my forum it will seem as if he is on the same website be he or she is not.
if someone clicks from site B to my forum it will also seem as if he is on the same website be he is not.

;-)

2

Re: is it possible to hyperlink to a style?

I would have thought that a http_referrer check along with an if/else statement in header.php should do it. I may be wrong though. big_smile Of course, that would also only work if the referrer wasn't empty or faked.

Re: is it possible to hyperlink to a style?

search punres for style switcher...


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: is it possible to hyperlink to a style?

quaker wrote:

search punres for style switcher...


Q

that style switcher only works for guests

Re: is it possible to hyperlink to a style?

then try something like this
http://101mag.net/misc.php?style=nature

change the name of the style

http://101mag.net/misc.php?style=Samui


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: is it possible to hyperlink to a style?

Hi Quaker! The examples you have shown (http://101mag.net/misc.php?style=nature and http://101mag.net/misc.php?style=Samui) are EXACTLY what I was looking for, thanks! :-)

Is this the add-on you mean?
http://www.punres.org/desc.php?pid=278

Re: is it possible to hyperlink to a style?

nope just a different way of producing a style link...

hehehe..

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: is it possible to hyperlink to a style?

quaker wrote:

nope just a different way of producing a style link...

Hi Q,
If that wasn't it, then which one were you referring to? Or would you mind telling me which changes you did in misc.php?
TIA!
Reg

Re: is it possible to hyperlink to a style?

reginald. what i got is a sorta pun +cms system..

a mix of the two...

http://punbb-pe.org.ru/index.php

you can signup and down load there lastest version.. and see what changes they did to the misc.php..

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!