vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   HTML Allowed for Certain Users/Groups (https://vborg.vbsupport.ru/showthread.php?t=60715)

msimplay 03-29-2004 01:40 PM

Quote:

Originally Posted by Boofo
Youi will also have a problem with the HTML and PHP tags. When HTML is turned on, things like the break tag will be parsed in the code boxes. ;)

well theres other problems in the formatting itself aswell
like when you insert a table it causes a huge gap between the normal text and html tags

as if its taken the whole space of the tags as a gap made it invisible and then shown the code right at the bottom
i removed this earlier today was contemplating adding it back just for links
coz links that the [url] tag has always lead to a new window but maybe someone could make a hack that allowed any links that are within the forum will open in the same window

and after boofo's comments on the php and html tags i thought na don't need it
can wait until 3.1 where it will be standard
this version of the hack needs some major reworking

Cool_Rice 04-19-2004 08:27 AM

is this hack for 3.0.1?
i assume id = = 6 means u 6 is admin?

Skyline_GT 04-22-2004 02:08 AM

how to make it it allows html in sig for only admins?

DenzoForums 04-28-2004 04:17 PM

Will this allow me to use HTML in posts as an admin in vb 3.0.1 and be able to construct links to open in the same window?

meaning

<a href="www.mydomain.com target="_self"> link here </a>

and have it work correctly?

Thanks
Dave

Ps - i was also looking for a way to have all links posted on my site, linking to my site use the target="_self" attribute, so they will all open in the same window, but all links pointing to any other domain to open in another window. This should work for everybody on the board, not just admins..

Any ideas? Thanks
Dave

Hoang Tu Ao Den 06-24-2005 07:16 AM

I tried and this mod doesn't work for 3.0.7

Mek 06-29-2005 04:38 AM

The mod does works for version 3.0.7 though I have had issues with the spacing from my formatted html converting into spaces for vbulletin.

ThomasR 07-07-2005 12:32 PM

Dark Jim : thank you for your hack, it works perfectly !
Just a small question, since I'm not a coder at all: how can I add more than a usergroup ? Actually, your code is for only admin (usergroup 6) and I want to add the super moderators
Code:

if ($post['usergroupid'] == 6)
6 + 3 for exemple :)
Thank you !

COBRAws 07-07-2005 12:58 PM

Quote:

Originally Posted by ThomasR
Dark Jim : thank you for your hack, it works perfectly !
Just a small question, since I'm not a coder at all: how can I add more than a usergroup ? Actually, your code is for only admin (usergroup 6) and I want to add the super moderators
Code:

if ($post['usergroupid'] == 6)
6 + 3 for exemple :)
Thank you !

Code:

if ($post['usergroupid'] == 5 || $post['usergroupid'] == 6 || $post['usergroupid'] == 7)
this would be for mods, smods and admins. ;)

I think its ok, someone please check.

ThomasR 07-07-2005 03:51 PM

hum.. it seems to not working for my moderators... (but still working for me)

caimakale 07-09-2005 06:05 AM

Quote:

Originally Posted by Hoang Tu Ao Den
I tried and this mod doesn't work for 3.0.7

I couldn't get it to work with 3.0.7 either.


All times are GMT. The time now is 06:51 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.01120 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
  • (3)bbcode_code_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