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)
-   -   Allow usergroups ( Admins ) to use HTML for posts , sigs (https://vborg.vbsupport.ru/showthread.php?t=75590)

yoyoyoyo 02-10-2005 03:24 PM

I'm confused as to what and doesn't work since this hack has never been updated. Can you update the instructions at the top to reflect the changes made in the thread?

oil 02-10-2005 08:55 PM

Quote:

Originally Posted by Tekton
There should be no {}'s on that line.

Find:
PHP Code:

// ********************* REMOVE HTML CODES *************************** 
if(!$dohtml

Change to:
PHP Code:

$group_check= array(6,19); 
if(
in_array($userinfo[usergroupid],$group_check)||in_array($post[usergroupid],$group_check)) 



now no error message, but it doesnt work at all, with usegroub 6 alone it did worked, this is really confusing me

Tekton 02-10-2005 11:58 PM

Sorry oil, that should have been "!in_array" for that with the !'s before each. Check the code in the hack-posting at the top of the page for the working code for that way.

oil 02-11-2005 12:17 AM

Quote:

Originally Posted by Tekton
Sorry oil, that should have been "!in_array" for that with the !'s before each. Check the code in the hack-posting at the top of the page for the working code for that way.

I got a zero knowledge of php, but I can strictly do what I have been told :D
so find and replace is what I can do

the stuff which is on top is not for multipe usergroups, thats the one with usergroup 6 in it, which is working for me already

or may you changed it ??

YEPP you changed it on top :) thx didnt know that this is possible, by the way I could need such a hack / mod, where first post is always on top, and can be edited, which one is this, want to have that too :)

Tekton 02-11-2005 03:09 AM

I don't know if they've ever released it, but a search in the forums would probably give you an answer.

DarknessDivine 02-11-2005 01:18 PM

Question...I am currently running vb 3.0.1 and have this hack installed https://vborg.vbsupport.ru/showthrea...7&page=1&pp=15 now when I upgrade my vb and install this new html hack is all my previous posts made in html going to show correctly or will they be messed up? :o

Tekton 02-11-2005 03:07 PM

This should work on any 3.0.0 board or higher (quite possibly lower as well). I can't tell you what that other one will do.

Guy G 02-13-2005 04:54 PM

Had to uninstall.... not very usefull for forums who deal with some HTML guidlines..
:\

Tekton 02-13-2005 07:53 PM

Quote:

Originally Posted by Guy G
Had to uninstall.... not very usefull for forums who deal with some HTML guidlines..
:\

Not sure what you mean... you're saying that your admin abused it? You should only allow trusted people to use html (which is why vB disables it by default).

oil 02-14-2005 04:21 AM

I got it now in use, and it does really makes sense for me that admin and super mods are allowed to use it,

thx again


All times are GMT. The time now is 06:58 AM.

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.01036 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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