Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Admin can change default style from admin cp Details »
Admin can change default style from admin cp
Mod Version: 1.00, by Brad (Coder) Brad is offline
Developer Last Online: Feb 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (0 vote - 0 average) Installs: 65
Released: 20 Mar 2003 Last Update: Never Downloads: 13
Supported  

This is a simple 'mini hack'. I wrote this for myself some time ago so i could change the default style without overwriting styleid 1, or editing global.php multiple times.

This will add a new option in the 'vBulletin options' part of the admin cp.

Querys to run: 1
Files to edit: 1.
Screenshot: in next post.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Change Admin CP Style Without Logging Out Slynderdale vBulletin 3.0 Full Releases 3 10 Sep 2004 10:50

  #31  
Old 03 May 2003, 23:23
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
wicked hack but it makes u wonder why such a hack isn;t there by default
Reply With Quote
  #32  
Old 04 May 2003, 00:55
KonZu KonZu is offline
 
Join Date: Mar 2003
working fine (2.3.0) , very usefull hack

thx
yrs KonZu
Reply With Quote
  #33  
Old 11 May 2003, 20:46
Bahawolf2 Bahawolf2 is offline
 
Join Date: Apr 2003
05-04-03 at 12:18 AM gwhooooey said this in Post #30
Same problem here
Yup, same.
Reply With Quote
  #34  
Old 24 May 2003, 09:24
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
If you would also make a cp.css reader, it would be something!
Like on phpBB, they have something like that.
Reply With Quote
  #35  
Old 25 May 2003, 02:29
gwhooooey gwhooooey is offline
 
Join Date: Feb 2003
INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorde r) VALUES (NULL,2,'Default style set.','loo_default_style','1','Set this number to the style id you wish to be displayed by deault (note: This will not overwrite style settings in user profiles!)','','7');

How do I reverse this? I'm removing the hack. Thanks
Reply With Quote
  #36  
Old 27 May 2003, 02:01
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)
This only changes the style for index.php only. If I click a forum, it's back to the default(id=1) style.
Reply With Quote
  #37  
Old 31 Jul 2003, 17:38
Danielo's Avatar
Danielo Danielo is offline
 
Join Date: Jul 2002
yes...
it doesn't function verywell!!

i have the same problem of Austin Dea!!

Let's check it

If an anonymous user enter the forum, the board shows perfectly th index.php paage, but the other are wrong
Reply With Quote
  #38  
Old 27 Aug 2003, 02:34
StrykerContact StrykerContact is offline
 
Join Date: Feb 2003
Thanks, just what I needed.
Reply With Quote
  #39  
Old 27 Aug 2003, 02:51
StrykerContact StrykerContact is offline
 
Join Date: Feb 2003
Ok this hack doesn't work right, it only sets my index.php as the style I set default to, but when I click a forum section it changes back to the real default.
Reply With Quote
  #40  
Old 01 Sep 2003, 18:34
DraX DraX is offline
 
Join Date: Aug 2002
Real name: Ron DeFreitas
You guys are forgetting that each forum has it's own styleid. If set not to override user defaults, it will still be used whenever a guest is logged in. You'll have to change those forums to whatever your forum default is if you want it to function in there.

I've written a quick alternative to this.....

make these changes in admin/forum.php:

find
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This should solve all your troubles if you use this everytime you change your default style.

Last edited by DraX; 01 Sep 2003 at 19:19.
Reply With Quote
  #41  
Old 02 Sep 2003, 05:55
StrykerContact StrykerContact is offline
 
Join Date: Feb 2003
Just remake the damn hack and give the origional creater credit.
Reply With Quote
  #42  
Old 02 Sep 2003, 06:39
DraX DraX is offline
 
Join Date: Aug 2002
Real name: Ron DeFreitas
Whoa! No reason for the hostility, guy.

I put this together quick for those of you who were having trouble with it. Which may have been good anyway, since my personal project, Avalon Site Manager, had similar functionality and I had not yet considered at the time that the forums needed their styleid's changed as well.

Anyway, I've contacted anime-Loo and given her permission to bundle this within the original hack if she liked. The functionality of the basic portion of her code was quite simple however, and given a lack of response I may do just what you suggested.
Reply With Quote
  #43  
Old 02 Sep 2003, 12:21
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
upgrading to vb3 line by line, its default in vb3 looks nice but i dont run any vb2 forums anymore
__________________
Looking for ImpEx?
Reply With Quote
  #44  
Old 04 Sep 2003, 00:12
Brad Brad is offline
 
Join Date: Nov 2001
Yesterday at 02:39 AM DraX said this in Post #42
Whoa! No reason for the hostility, guy.

I put this together quick for those of you who were having trouble with it. Which may have been good anyway, since my personal project, Avalon Site Manager, had similar functionality and I had not yet considered at the time that the forums needed their styleid's changed as well.

Anyway, I've contacted anime-Loo and given her permission to bundle this within the original hack if she liked. The functionality of the basic portion of her code was quite simple however, and given a lack of response I may do just what you suggested.
He .

Ive been planing a update for awhile (alot of my hacks need them). Im not sure if I am going to bundle your code or not at this point. But thanks for the quick fix for the current version

Last edited by Anime-loo; 04 Sep 2003 at 00:14.
Reply With Quote
  #45  
Old 13 Sep 2003, 16:57
Big J Big J is offline
 
Join Date: Nov 2002
Drax - THANKS FOR THE FIX!!!!!!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:23.

Layout Options | Width: Wide Color: