miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

Quick Style Change (drop-down box)

Author ivan79
Registered
#1 | Posted: 9 Jun 2010 17:29 | Edited by: ivan79 
Quick Style Change

This is very simple to implement.

File edits: 2
setup_options.php
/templates/main_footer.html
or main_header.html (or whatever you want to your dropdown box appear)

Click here to Download.


Screenshot:

Style

Note: This is not complete my work. I found some instructions on this forum and just add drop down box.

Author astass
Registered
#2 | Posted: 22 Jun 2010 06:04 
Parse error: syntax error, unexpected T_IF in /home/******/****/***/setup_options.php on line 156

line 156
if(isset($_GET['theme'])){

Author ivan79
Registered
#3 | Posted: 22 Jun 2010 07:19 | Edited by: ivan79 
I just download and install it on basic miniBB and its working fine.
You probably missed "(" or ")" or "{ )" somewhere in setup_options.php

(Also, try to delete empty lines between code)

Did you delete or change php remarks (/*whatever thing you write*/) ?

Author astass
Registered
#4 | Posted: 22 Jun 2010 08:41 
ivan79:
I just download and install it on basic miniBB and its working fine.You probably missed "(" or ")" or "{ )" somewhere in setup_options.php(Also, try to delete empty lines between code)Did you delete or change php remarks (/*whatever thing you write*/) ?

Nothing is removed or changed ... I tried to put issued already occurred ...

Author ivan79
Registered
#5 | Posted: 22 Jun 2010 08:59 
Look at this post:
CSS Skin changing code using cookies and GET parameter

If you look closer thats the same code. I just added dropdown box, tested and its working fine.

Backup setup_options.php and replace with default/basic. Than paste code from this addon. You obviuosly pasted code in wrong place or replace it with some remarks or "{ ( )..." .

Author astass
Registered
#6 | Posted: 22 Jun 2010 12:00 
I'm stupid. I have changed something in the template and this was a mistake ... Now everything works, but there is a problem. The fact that the last 10 words in the topic for now on the main page are not displayed. They were replaced by N / A

Author Paul
Lead Developer
#7 | Posted: 22 Jun 2010 12:04 
astass:
I'm stupid.

It's a very rare case when a user calls stupid himself, not a programmer ;-)

Author astass
Registered
#8 | Posted: 22 Jun 2010 12:14 
Paul:
It's a very rare case when a user calls stupid himself, not a programmer ;-)

Self-criticism is fun ;-) ... Here in general a great audience. I'm used to that programmers usually show off, but here to help.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / Quick Style Change (drop-down box) Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB