vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Restrict style to Usergroup (https://vborg.vbsupport.ru/showthread.php?t=82410)

Andreas 06-27-2005 01:53 PM

What's on lines 275-285 of you global.php?

87accordlxi 06-27-2005 02:21 PM

Well I think I got it working now. Just a stupid copy/paste error I kept making. Everything works, and if users type the direct URL to a restricted style, it takes them to the default. Cool hack, I'll use this to exempt our donating members from ad banners.

King Kovifor 06-27-2005 02:22 PM

I love this hack. I was wondering why it wasn't already built into the ACP. *saved for myth.*

Andreas 06-27-2005 02:24 PM

Quote:

Originally Posted by 87accordlxi
and if users type the direct URL to a restricted style, it takes them to the default

Yes, this is how it should behave :)

Immortal 07-06-2005 06:26 PM

Great hack, was looking for this awhile back. I got it installed and but I'm having same problems as they were, it removes the selection when chosen. I am using 3.0.7.

Andreas 07-06-2005 06:30 PM

What does "it removes the selection when chosen" mean?

Immortal 07-06-2005 06:35 PM

Sorry should've been exact! :)

I select the usergroup, press okay, then go back and it is unchecked again. Same problem they was having. I just downloaded it today so I had the fix you already changed.

Andreas 07-06-2005 06:36 PM

You mean in ACP / Styles & Templates / Style Manager?

Immortal 07-06-2005 06:40 PM

Quote:

Originally Posted by KirbyDE
You mean in ACP / Styles & Templates / Style Manager?


Yes sir! :)

Andreas 07-06-2005 06:46 PM

Nobody reported such a Problem so far.
Please carefully check the edits you made to admincp/template.php

Immortal 07-06-2005 06:55 PM

I think I checked them all, is there a particular file you think would be causing this?

Andreas 07-06-2005 06:58 PM

Quoting myself:

Quote:

Please carefully check the edits you made to admincp/template.php

Immortal 07-06-2005 07:07 PM

I'm very sorry I missed that. Could I perhaps email you the template.php file?

Immortal 07-06-2005 08:21 PM

Kirby is the man! :)

GoTTi 07-10-2005 04:22 PM

yay now its working. i didnt see the update here. thanks kirb

mkdevo 07-21-2005 04:22 PM

just what i was looking for!

the search button IS my friend! :D

thanks K!

Dark Aura 07-24-2005 09:12 PM

When I run the querie I get this, why is that...

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'darkaura_forums.style' doesn't exist

and how do I fix it as I would really like this hack.

Marco van Herwaarden 07-25-2005 03:06 AM

You are probably using a table prefix. Add the prefix in front of the tablename (style) when running that query.

Gray Matter 08-17-2005 02:19 PM

Not to be a bothersome pain in the butt, but any chance of seeing this for 3.5.0 anytime soon? :)

Andreas 08-17-2005 07:49 PM

Yes. The next Version of vBulletin should have all necessary Hooks to implement this :)

Gray Matter 08-18-2005 07:02 PM

Quote:

Originally Posted by KirbyDE
Yes. The next Version of vBulletin should have all necessary Hooks to implement this :)

Which means it will be a plugin? :) That's even better! :D

Andreas 08-18-2005 07:47 PM

Yes, it will be a Plugin.

sarahsboy18 08-30-2005 03:16 AM

Kirby... You are my hero! Great Hack!

royouth 10-04-2005 05:34 PM

I installed this hack except I don't have the edits to global.php done since I got an error when I edited it. So it's working nicely for the styles that I had before I added this hack.

I just recently added two new styles and for the new styles the style selector doesn't work at all. So if I open a browser with the new style from ACP I'm stuck in that style and can't switch to another style with the quick style chooser.

Andreas 10-04-2005 08:01 PM

Check your edits and settings is all I can say.

zagman76 12-08-2005 12:48 AM

just wondering if there is a 3.5.x version of this yet? :)

Thanks!

amykhar 12-08-2005 01:23 AM

Here's a trick for finding that out on your own. Click the hack author's name. Look at his profile. His modifications are listed there.

Roody 01-31-2006 04:55 PM

Quote:

Originally Posted by nexialys
KirbyDE, the query is having an error... VACHAR instead of VARCHAR.. ;)

great hack !

Is there an updated hack for this in 3.5.3?

nsusa 08-06-2006 05:20 PM

Just wondering what the plans for the plugin are and if this will be updated for 3.6 maybe?

Christoph


All times are GMT. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01165 seconds
  • Memory Usage 1,769KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete