Make it so a guest can access index.php?style=

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
User avatar
Matthew69
Registered User
Posts: 170
Joined: Sat Jul 28, 2007 4:37 pm
Contact:

Make it so a guest can access index.php?style=

Post by Matthew69 » Sun Feb 17, 2008 1:05 pm

How would I let a guest flip through my styles?
I would like a styles demo, but dont really want to use any that I found in the MODS database!
Image

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: Make it so a guest can access index.php?style=

Post by Raimon » Sun Feb 17, 2008 3:05 pm

Simple:

Open includes/session.php

search:

Code: Select all

if (!empty($_GET['style']) && $auth->acl_get('a_styles'))  
replace with:

Code: Select all

if (!empty($_GET['style']))  
;)
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

Locked

Return to “[3.0.x] Styles Support & Discussion”