PDA

View Full Version : Allow Usergroups to Post HTML


Pages : [1] 2

kall
09-25-2005, 10:00 PM
Just like the name says, this ultra-simple little Product will allow you to specify Usergroups that may post in HTML and have that HTML be parsed...SOME PEOPLE ARE HAVING TABLE PROBLEMS - THIS IS UNSUPPORTED USEAGE OF THE MODIFICATION AND I AM UNABLE TO ASSIST!

***BE AWARE THAT INDISCRIMINATE USE OF THIS HACK IS RISKY - RESTRICT IT TO ONLY THOSE USERGROUPS YOU TRUST ABSOLUTELY***

The scary message above is to make sure you are aware that enabling HTML for any group opens you up to security issues. This is why it is not a feature of Stock vB, probably. :)

I decided I needed to have the ability to post in HTML because I just installed ZT's RSS Feeds hack (https://vborg.vbsupport.ru/showthread.php?t=94510), and the ones I got from Google looked all horrible.

Now updated to be controlled by a Setting in Usergroup Manager, it's phrased and even works in editpost.php (preview) in WYSIWYG and normal modes, AND the Forum Rules shows HTML is ON.

This will not work retroactively. That is, if a User posted something in HTML before they were given the ability, that post has to be edited by that member (or someone else with HTML ability) in order to be parsed. I am assuming this is due to post caching.

Many thanks to Kirby for prodding me to figure it out by myself and not just telling me what to do. :)

A "demo" is here (http://www.nzboards.com/forums/new-zealand-news-feeds/new-zealand-dollar-trades-near-7-week-high-appeal-yields-bloomberg-com-27826/)..html is OFF in that Forum, but the post is made by an Admin, so the HTML is parsed.

Boofo
09-26-2005, 09:40 AM
If they can post in it can everyone else still see if and not the html code instead?

Andreas
09-26-2005, 09:42 AM
as I expect to have Marco or Kirby to quietly come up

Here I am :D


Posting Rules display does not show that I am allowed to post HTML
Preview does not work
You might want to check if parsing is really done for a forum item before just enabling it

kall
09-26-2005, 10:04 AM
Here I am :D


Posting Rules display does not show that I am allowed to post HTML
Preview does not work
You might want to check if parsing is really done for a forum item before just enabling it


1. They do now. ;)

2. It does now!

3. What do you mean? How?

@Boofo: Yep, Posters make it in HTML and it is parsed for all viewers.

SHANE-D-PAIN
09-26-2005, 10:20 AM
Where are the settings for this? :S

kall
09-26-2005, 10:35 AM
Where are the settings for this? :S

Inside the xml.

By default, its 5,6,7 .

SHANE-D-PAIN
09-26-2005, 10:38 AM
Inside the xml.

By default, its 5,6,7 .

Okay, cheers! :)

Cyricx
09-26-2005, 11:45 AM
Ugg, hate hard coded IDs because I have soooo many secondary usergroups ;)

Gotta love clan forums :P

Perhaps do the extra hooks to make it so you set the yes/no through the usergroup manager?

Rather then editting a plugin everytime you add another upper heirarchy usergroup.

Andreas
09-26-2005, 11:49 AM
Yeah, a Usergroup Permission for that would be nice :)

kall
09-26-2005, 06:42 PM
Yeah, a Usergroup Permission for that would be nice :)

Wanna tell/teach me how to do that? :)

Andreas
09-26-2005, 06:48 PM
https://vborg.vbsupport.ru/showthread.php?t=82844
:)

kall
09-26-2005, 06:50 PM
Alllrighty then, lets see what my flu-addled brain can come up with from that. :)

Kirk Y
09-26-2005, 07:06 PM
Oh my God, Kall... I'm going to come to your house and kiss you... *ahem* Err... thanks. This'll be great for my RSS Feeds hack!

Boofo
09-26-2005, 07:10 PM
A Kirk kissing an Ace. Now why doesn't that sound right to me? :surprised:

hehe

Kirk Y
09-26-2005, 07:14 PM
Ha ha Boof! :mad:

What do I need to change so I can input a single Username in addition to a single Usergroup?

Edit:

if (in_array($post['usergroupid'], array(6))) OR if (in_array($post['username'], array(vBlogger)))
{


That close?

Marco van Herwaarden
09-26-2005, 07:28 PM
I wake up in the bottom of a sardine trawler.
Sorry we won't do that, we respect animal rights. :D

Vtec44
09-26-2005, 07:57 PM
I assume that it doesn't work if a non-html group member quoted the HTML code? ... and it shouldn't anyway... :)

dastar
09-26-2005, 08:07 PM
I've been waiting for this mod for so long......... *tear*

If you were a girl and didn't live in another country, i'd kiss you.

Awesome plugin! :)

kall
09-26-2005, 08:14 PM
Aaaaargh! Why isn't this working??

if ($permissions['allowhtmlpermissions'] & $vbulletin->bf_ugp['allowhtmlpermissions']['canposthtml'])

And the bitfield xml is:

<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="nzbgroupallowhtml">
<bitfielddefs>
<group name="ugp">
<group name="allowhtmlpermissions">
<bitfield name="canposthtml" group="allowhtmlpermissions" phrase="can_post_html" install="5,6,7">1</bitfield>
</group>
</group>
</bitfielddefs>
</bitfields>

A little help here please. :)

Marco van Herwaarden
09-26-2005, 08:19 PM
Did you rebuild the bitfields?

kall
09-26-2005, 08:23 PM
Did you rebuild the bitfields?

Yeah... and to NOT be such a crappy bug reporter - "It does accept the change through Usergroup Manager (and show there nicely) but the post itself is not parsed as HTML. The php I posted above replaces the existing $post[usergroupid] based check."

:)

Andreas
09-26-2005, 08:30 PM
$vbulletin is not within the Scope of a vB_BBCode_Parser object :)
Hint: $this->registry

$permissions also might not be in the scope, not sure.

kall
09-26-2005, 08:53 PM
$vbulletin is not within the Scope of a vB_BBCode_Parser object :)
Hint: $this->registry

$permissions also might not be in the scope, not sure.

*sighs*

So its not possible to do this through bitfields and permissions then? :(

Andreas
09-26-2005, 08:57 PM
Sure. You just have to access it correctly ;)

Eg. global $permissions or $this->registry->userinfo['permissions'] and $this->registry->bf_ugp

utw-Mephisto
09-26-2005, 09:10 PM
WOW - If I get the confirmation that this is working as it should, I love yea...

*wait wait*

Kirk Y
09-26-2005, 09:17 PM
if (in_array($post['usergroupid'], array(6))) OR if (in_array($post['username'], array(vBlogger)))
{


What do I need to do to also allow usernames to be listed? Is the above close?

kall
09-26-2005, 09:22 PM
// Was this post made by an allowed Usergroup member?
global $permissions;

if (($this->registry->userinfo['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml']))

{
// This is an allowed post so parse HTML.
$dohtml = '1';
}


else
{
// usergroup HTML disabled so use default forum permission.
$dohtml = $forum['allowhtml'];
}
*bangs head on desk*
Am I close?

Vtec44
09-26-2005, 10:35 PM
It's working for me, but the preview doesn't work though

dastar
09-27-2005, 10:01 AM
The original plugin worked. The new one gives this error when I try to set HTML to yes for a usergroup:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 627

kall
09-27-2005, 10:06 AM
The original plugin worked. The new one gives this error when I try to set HTML to yes for a usergroup:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 627

Thats odd .. did you uninstall the original?

And.. does it work anyway? Thats a Warning, not an Error. :)

dastar
09-27-2005, 10:12 AM
NM. I got it now.

Works well (as long as you uninstall the original, doh!) thanks Kall!

Works in preview post too! :banana: :banana:

kall
09-27-2005, 10:22 AM
NM. I got it now.

Works well (as long as you uninstall the original, doh!) thanks Kall!

Works in preview post too! :banana: :banana:

Coolness man, you are most welcome. :)

Heh. That's 2 bbcode_parseing type plugins I have released now.

Cyricx
09-27-2005, 11:40 AM
That's awesome! Kick ass job!!

/me clicks install.

NuclioN
09-27-2005, 01:42 PM
what to do with the bitfield_allowhtml.xml file???

dastar
09-27-2005, 02:15 PM
Upload it to your includes folder. ;)

murrtex
09-27-2005, 02:27 PM
it does not on me...:( everything is finish?? or let me wait..

Vtec44
09-27-2005, 02:40 PM
It's working for me! :)

dastar
09-27-2005, 02:43 PM
it does not on me...:( everything is finish?? or let me wait..

It's finished. What problem is it giving you?

NuclioN
09-27-2005, 07:23 PM
Upload it to your includes folder. ;)
Tnx :) Now i have to figure out how this works.
-edit- works great

Vtec44
09-27-2005, 09:15 PM
Maybe it's designed not to work that way, but HTML doesn't work in signature of the allowable group. Maybe v1.01 will change this? :D

kall
09-28-2005, 07:27 PM
Maybe it's designed not to work that way, but HTML doesn't work in signature of the allowable group. Maybe v1.01 will change this? :D

Well no .. the signature isn't exactly 'posted', now is it? :)

Maybe...

utw-Mephisto
09-29-2005, 03:09 AM
runs on vb 3.5 gold including preview and people not in that user group can even quote but gets only plaintext .. THIS is what I was waiting for :) THANKS

utw-Mephisto
09-29-2005, 03:10 AM
Demo (no reg. required) : http://www.ut2007world.com/forum/showthread.php?t=511

Acers
09-29-2005, 06:47 AM
umm gives me this error when i try to set permission for usergroup

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635


Database error in vBulletin 3.5.0:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Systems Lead',
`description` = '',
`usertitle` = 'Systems Lead',
`opentag` = '<span style=\"color: orange; font-weight: bold; text-decoration: none;\">',
`closetag` = '</span>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`ucash_paycheck` = '0.00',
`forumpermissions` = '470810623',
`attachlimit` = '0',
`pmquota` = '1500',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '23',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '100',
`avatarmaxheight` = '100',
`avatarmaxsize` = '25000',
`maxsiglines` = '0',
`maxsigfontsize` = '0',
`maxsigimgsize` = '0',
`maxsigimgwidth` = '0',
`maxsigimgheight` = '0',
`maxsigimages` = '0',
`custompermissions` = '0',
`allowhtmlpermissions` = ''
WHERE usergroupid=6;

MySQL Error : Unknown column 'allowhtmlpermissions' in 'field list'
Error Number : 1054
Date : Thursday, September 29th 2005 @ 01:14:47 PM
Script : http://www.techenclave.com/forums/admincp/usergroup.php
Referrer : http://www.techenclave.com/forums/admincp/usergroup.php?do=edit&usergroupid=6
IP Address : xxxxxxxxx
Username : xxxxxxx
Classname : vb_database

murrtex
09-29-2005, 09:09 AM
my problem is this;

when i click update html permission on usergroup
it says;

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in \includes\class_core.php on line 627


and nothings happens.

what should i do? for fix that error

kall
09-29-2005, 09:36 AM
umm gives me this error when i try to set permission for usergroup

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635


Database error in vBulletin 3.5.0:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Systems Lead',
`description` = '',
`usertitle` = 'Systems Lead',
`opentag` = '<span style=\"color: orange; font-weight: bold; text-decoration: none;\">',
`closetag` = '</span>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`ucash_paycheck` = '0.00',
`forumpermissions` = '470810623',
`attachlimit` = '0',
`pmquota` = '1500',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '23',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '100',
`avatarmaxheight` = '100',
`avatarmaxsize` = '25000',
`maxsiglines` = '0',
`maxsigfontsize` = '0',
`maxsigimgsize` = '0',
`maxsigimgwidth` = '0',
`maxsigimgheight` = '0',
`maxsigimages` = '0',
`custompermissions` = '0',
`allowhtmlpermissions` = ''
WHERE usergroupid=6;

MySQL Error : Unknown column 'allowhtmlpermissions' in 'field list'
Error Number : 1054
Date : Thursday, September 29th 2005 @ 01:14:47 PM
Script : http://www.techenclave.com/forums/admincp/usergroup.php
Referrer : http://www.techenclave.com/forums/admincp/usergroup.php?do=edit&usergroupid=6
IP Address : xxxxxxxxx
Username : xxxxxxx
Classname : vb_database


@acers That is indeed odd. The install code of the Product *should* be executed when you install it.

@murrtex: That shouldn't cause the Product to not work..look in your Product Management. Does 'HTML' appear anywhere there? What about Plugin Manager?

Mepher
09-29-2005, 11:51 AM
I just installed on 3.5 gold and got the same error as Acers.

Mepher
09-29-2005, 11:57 AM
@acers That is indeed odd. The install code of the Product *should* be executed when you install it.

@murrtex: That shouldn't cause the Product to not work..look in your Product Management. Does 'HTML' appear anywhere there? What about Plugin Manager?

Yes it does appear in both in the Product manager and the plugin manager. Gives this error when I try and turn it on for any usergroup:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

dastar
09-29-2005, 12:03 PM
Make sure you delete his original plugin then upload the new one. I was getting the same error until I deleted the old one. I am running it on 3.5 gold with no problems.

Mepher
09-29-2005, 12:04 PM
I never installed the old one, I waited till Gold was released to make sure it worked for people. I downloaded the latest one this morning and installed that.

Mepher
09-29-2005, 12:08 PM
Odd. I uninstalled the product and then reinstalled the same one and it works now. :ninja:

dastar
09-29-2005, 12:10 PM
Odd. I uninstalled the product and then reinstalled the same one and it works now. :ninja:

Strange..... at least it works. I was getting the same errors as you were before I did what I mentioned above.

Kirk Y
09-29-2005, 06:50 PM
How can I get the HTML to display on vBA CMPS?

kall
09-29-2005, 08:27 PM
I never installed the old one, I waited till Gold was released to make sure it worked for people. I downloaded the latest one this morning and installed that.

*sighs*

I just installed a Gold testbed. I uploaded the bitfield from this hack into my /includes/xml directory. I imported the product. I set the permissions. I tested it.

It works. No errors at all.

I apologise if it does not for you.

@acidburn - Hmm.. I didn't realise it wouldnt work there. Have you asked Brian about it? One would have assumed that vBaCMPS would look at the $dohtml value...

Kirk Y
09-29-2005, 09:31 PM
Brian? I tried adding dohtml into the Globalized Output Vars, to no avail.

utw-Mephisto
09-29-2005, 09:44 PM
Demo (no reg. required) : http://www.ut2007world.com/forum/showthread.php?t=511

I don't get any error - really weird .. even had updated from RC3 to gold and it is working like a charm :ermm:

kall
09-29-2005, 09:55 PM
Brian? I tried adding dohtml into the Globalized Output Vars, to no avail.

Brian - The creator of vbadvanced.

Might be worth asking over at www.vbadvanced.com :)

Kirk Y
09-30-2005, 12:50 AM
Okay, I asked... not sure how much help they'll be, but atleast I tried.

csidlernet
10-05-2005, 03:06 AM
coolies.
/me install

Red Fox UK
10-05-2005, 09:29 PM
I seem to have a problem, whiklst my usergroup can view and post HTML content - other usergroups are just shown the raw HTML, its not parsed for the viewers :ermm:

kall
10-06-2005, 07:38 AM
I seem to have a problem, whiklst my usergroup can view and post HTML content - other usergroups are just shown the raw HTML, its not parsed for the viewers :ermm:

Well that just sucks, doesn't it?

A bit of testing reveals that the post seems to need to be edited before it will parse the HTML. :(

I will see what I can do to remedy this.

Red Fox UK
10-06-2005, 07:39 AM
I will see what I can do to remedy this.

Cheers :)

dastar
10-06-2005, 11:16 AM
Well that just sucks, doesn't it?

A bit of testing reveals that the post seems to need to be edited before it will parse the HTML. :(

I will see what I can do to remedy this.

I noticed that on my forums today and was on my way here to report it. Someone asked me what was up with all the HTML, then I noticed it. :ermm:

Still, a nice mod with the exception of having to edit everything to get the code to display :ninja:

EDIT: Strangely enough, this doesn't always happen. I just made a new post with HTML in it that parsed and displayed correctly the first time without editing it.

garrynewman
10-06-2005, 01:56 PM
When updating the usergroup profile it says..

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in \includes\class_core.php on line 635


and the value isn't changed to Yes

garrynewman
10-06-2005, 02:05 PM
Ok, I uninstalled it and installed it again and now it works!

kall
10-06-2005, 07:48 PM
I noticed that on my forums today and was on my way here to report it. Someone asked me what was up with all the HTML, then I noticed it. :ermm:

Still, a nice mod with the exception of having to edit everything to get the code to display :ninja:

EDIT: Strangely enough, this doesn't always happen. I just made a new post with HTML in it that parsed and displayed correctly the first time without editing it.

Guys:

Try this for the bbcode_parse plugin (provided by the master Kirby):

global $post;
$perms =& $post['permissions'];
if (!$perms)
{
$perms = fetch_permissions(0, $post['userid'], $post);
}
// Was this post made by an allowed Usergroup member?
if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])
{
// This is an allowed post so parse HTML.
$dohtml = '1';
}
If you could try that and report back to me that it is all good (works perfectly on NZB as far as I can tell), I will update the .zip when I get home from work.

digitalhome
10-06-2005, 08:00 PM
Sorry, I'm a little thick so can I just confirm a few things since I only want the admin to be allowed to post html.

I installed and it seems to work but in the bitfield-allowhtml.xml file should I change install="5,6,7" to install="6" so that its restricted to admins.

kall
10-06-2005, 08:12 PM
Sorry, I'm a little thick so can I just confirm a few things since I only want the admin to be allowed to post html.

I installed and it seems to work but in the bitfield-allowhtml.xml file should I change install="5,6,7" to install="6" so that its restricted to admins.

No, you would need to go into the Usergroup manager and set the permissions for the usergroups. :)

dastar
10-07-2005, 12:39 AM
Actually, since I shut off the template compressor plugin, i've had no problems with the HTML being parsed and viewable by all.......

jesus likes pie
10-07-2005, 12:52 AM
Can you make a specific user be allowed to use html?

If so, how?

EDIT: hey, I have an idea, could I make a secondary usergroup that has it enabled, put the desired user as secondary usergroup for it, but have him display as his primary one?

Will that work? If not.....what

Red Fox UK
10-07-2005, 03:07 AM
Guys:

Try this for the bbcode_parse plugin (provided by the master Kirby):

global $post;
$perms =& $post['permissions'];
if (!$perms)
{
$perms = fetch_permissions(0, $post['userid'], $post);
}
// Was this post made by an allowed Usergroup member?
if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])
{
// This is an allowed post so parse HTML.
$dohtml = '1';
}
If you could try that and report back to me that it is all good (works perfectly on NZB as far as I can tell), I will update the .zip when I get home from work.

Works here :)

Red Fox UK
10-07-2005, 04:56 AM
Works here :)

Actually - it causes a problem! It causes HTML within CODE tags to run rather than displayed.

DarrenS
10-07-2005, 06:16 PM
I am having this same exact problem: HTML posts are correctly parsed for admins, but not for everyone else.

Is there an update ready yet?

Thanks!

Andreas
10-07-2005, 10:10 PM
@DarrenS
Do you use this Code? https://vborg.vbsupport.ru/showpost.php?p=788728&postcount=66
If so: Did you clear the postcache?

Red Fox UK
10-07-2005, 10:35 PM
@DarrenS
Do you use this Code? https://vborg.vbsupport.ru/showpost.php?p=788728&postcount=66
If so: Did you clear the postcache?

I did - but it doesnt work properly, doesnt encode the HTML content inbetween [CODE] tags.

Andreas
10-07-2005, 10:44 PM
I did - but it doesnt work properly, doesnt encode the HTML content inbetween [CODE] tags.
What does that mean?
HTML within [quote] Tags is rendered instead of being displayed as HTML Code?
AFAIK that's the way vBulletin works, test it with this Hack being disabled and a Forum that does allow HTML.

DarrenS
10-08-2005, 03:01 AM
KirbyDE:

I didn't implement that code snippet, no. Just 3.50 and this thread's plug-in (1.0 RC1).

I would implement it if there were directions on how to do so. I don't use the [ CODE] tag on my forum. (What it sounds like Red Fox is describing is that HTML code in the [ CODE] [/CODE] tag is being parsed rather than displaying the code itself, while the [ CODE] tag is intended to allow users to show code.)

weaver
10-08-2005, 04:20 AM
Guys:

Try this for the bbcode_parse plugin (provided by the master Kirby):

global $post;
$perms =& $post['permissions'];
if (!$perms)
{
$perms = fetch_permissions(0, $post['userid'], $post);
}
// Was this post made by an allowed Usergroup member?
if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])
{
// This is an allowed post so parse HTML.
$dohtml = '1';
}
If you could try that and report back to me that it is all good (works perfectly on NZB as far as I can tell), I will update the .zip when I get home from work.

Still having the same problem. I have to edit in advanced mode before the html will parse.

Red Fox UK
10-08-2005, 04:56 AM
KirbyDE:

I didn't implement that code snippet, no. Just 3.50 and this thread's plug-in (1.0 RC1).

I would implement it if there were directions on how to do so. I don't use the [ CODE] tag on my forum. (What it sounds like Red Fox is describing is that HTML code in the [ CODE] [/CODE] tag is being parsed rather than displaying the code itself, while the [ CODE] tag is intended to allow users to show code.)

This is what I meant :)

Vtec44
10-08-2005, 02:53 PM
Also for some reason, it is allow HTML in signature of user groups that are not suppose to have HTML. One person on my board has an IMG tag in his signature, and it is showing when I enable this plug in. I disabled it and it is not showing anymore. I tried to uninstall it, but got a database error when creating a new user group. It seems like the uninstall didn't completely remove everything.

Andreas
10-09-2005, 06:58 PM
Once again:
If you uninstall Hack the use custom Bitfields you must always delete the Biotfield XML before uninstalling it.

As for the sig problem:
I think there is another check necessary if the parsing is done for a forum item or not.

jesus likes pie
10-11-2005, 02:20 AM
Question:

"Should this usergroups HTML posts be parsed? "

if that is set to "yes" will they be able to get the html out of the posts AND post in html? I only want them to be able to read it and not post, and others be able to do both....

kall
10-11-2005, 06:29 AM
Question:

"Should this usergroups HTML posts be parsed? "

if that is set to "yes" will they be able to get the html out of the posts AND post in html? I only want them to be able to read it and not post, and others be able to do both....

In that case, set it to "No" for the ones you dont want to post in HTML.

auz1111
10-12-2005, 12:02 AM
awesome!

auz1111
10-12-2005, 12:03 AM
does anybody know of how to make a usergroup option where sigs can be html parsed?

Deimos
10-15-2005, 04:04 PM
Hmm, I can't get this working for 3.5.0
I installed it ok, set the permissions via the usergroup manager, but registered users can still use html, even when it's set to no

DarrenS
10-15-2005, 10:33 PM
Hmm, I can't get this working for 3.5.0
I installed it ok, set the permissions via the usergroup manager, but registered users can still use html, even when it's set to no

Kall, any updates to this to get it working in 3.5.0 Gold? The file for download above is still labeled RC1.

I have no other hacks or plug-ins installed, but regular users are seeing the HTML code I am posting as an admin rather than the pretty, parsed version.

vBFreak
10-16-2005, 12:09 AM
Yes, I have the same problem...

I wanted to allow all admins to post html and that all users can see the html code posted by the admins, but if an user posts in html it should not be parsed... So I've installed this hack and set the Rights for Admins to parse html, now all html codes from all users are parsed for admins and all users can still only see the html code unparsed...

Please give us an update for 3.5.0 gold as I need that hack as fast as it is possible ;)

Tulsa
10-16-2005, 11:18 AM
Well toss me into this group too. The settings to allow or disallow parsing by group seem to be ineffective. Reg users can post in html if that particular forum allows it regardless of the usergroup settings for this mod.

kall
10-16-2005, 06:14 PM
Well toss me into this group too. The settings to allow or disallow parsing by group seem to be ineffective. Reg users can post in html if that particular forum allows it regardless of the usergroup settings for this mod.

Of course it does .. this hack GIVES the right to post parsed HTML in a forum that otherwise would not allow it.

As for the people who this is 'not working' for, more information please. It works 100% fine on my site, and that is running 3.5.0.

vBFreak
10-16-2005, 08:02 PM
Look at the screenshots, the second one shows my admin view of a signature of another admin, I can see it parsed... the first one shows a normal user view, there is no html-code parsed... what I want is, that every user can see every html-code of an admin parsed but no other users should be able to use html in their own posts, if an user posts html nobody should see that parsed...

If I would write something with my normal user, my admin account parses the html-code of the users and other users can see only the code from both admins and other users...

I've set "Should this usergroups HTML posts be parsed?" to Yes at the admin group, all other users have no there... What am I doing wrong?

Andreas
10-16-2005, 08:03 PM
@kall
The Plugin-Code in the ZIP definitly doesn't work correctly ;)

vBFreak
10-16-2005, 08:16 PM
Here are 2 more screens, as you can see, my admin user parses the html-code of the user's post and signature and my own html code, but the user can't see my html and also not his own html...

dastar
10-16-2005, 08:18 PM
Funny, but other then having to enter advanced edit to make sure the HTML stays parsed, I don't have some of the problems others are having.

Andreas
10-16-2005, 08:22 PM
@dastar
It doesn't stay; it will go away when parsed post cache expires, as the ZIP version of this Hack just checks your permission - instead of the permission of the post owner.

dastar
10-16-2005, 09:42 PM
@dastar
It doesn't stay; it will go away when parsed psot cach ZIP version of this Hack just checks your permission - instead of the permission of the post owner.

When does this happen? My guests and users can see the html as being parsed but still can't have their own html posts parsed (I have it set to only parse the admin's html).

I am not doubting you, just trying to understand it and recreate the problem on my forums so that I can see it myself. :)

kall
10-17-2005, 06:31 AM
Updated .zip .. before I announce this, can someone please test it? I took it straight from NZB, where it works perfectly.

dastar
10-17-2005, 10:47 AM
Hey Kall, I downloaded and installed the new one and it's working for me (granted, the other one worked for me too). Thanks Kall.

vBFreak
10-17-2005, 12:42 PM
Yeah, same for me, seems to work now...

Thanks for that great plugin ;)

HUMMERh3
10-17-2005, 03:00 PM
How does one install this... uploaded file"product-nzbgroupallowhtm3.5.0.xml" to plugin manager...but what do I do with "bitfield_allowhtml.xml" could someone please tell me as I am new at this.

Thanks!

Andreas
10-17-2005, 03:08 PM
1) Uninstall
2) Upload the bitfield XML to includes/xml
3) Install

This is necessary, otherwise the bitfield cache will not get rebuilt resulting in errors in usergroup manager

-=Sniper=-
10-17-2005, 04:44 PM
thanks man, this should be a default feature really.

Tulsa
10-18-2005, 07:56 AM
Yep, working great! :)

Vtec44
10-20-2005, 02:35 AM
Once again:
If you uninstall Hack the use custom Bitfields you must always delete the Bitfield XML before uninstalling it.

I deleted the bitfield_allowhtml.xml, then uninstalled the product, and got the error message below when creating a new user group:


Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO sbnvb_usergroup
(`title`, `description`, `usertitle`, `opentag`, `closetag`, `passwordexpires`, `passwordhistory`, `ispublicgroup`, `canoverride`, `forumpermissions`, `attachlimit`, `pmquota`, `pmpermissions`, `pmsendmax`, `calendarpermissions`, `wolpermissions`, `adminpermissions`, `genericpermissions`, `genericoptions`, `profilepicmaxwidth`, `profilepicmaxheight`, `profilepicmaxsize`, `avatarmaxwidth`, `avatarmaxheight`, `avatarmaxsize`, `allowhtmlpermissions`, `maxsiglines`, `maxsigfontsize`, `maxsigimgsize`, `maxsigimgwidth`, `maxsigimgheight`, `maxsigimages`, `sigforbiddencodes`, `custompermissions`)
VALUES
('test', '', '', '', '', '', '', '0', '0', '651271', '1000000', '0', '0', '5', '0', '1', '0', '2626563', '9', '100', '100', '25000', '50', '50', '20000', '0', '', '', '', '', '', '', '', '0');

MySQL Error : Unknown column 'allowhtmlpermissions' in 'field list'
Error Number : 1054

davidms
10-20-2005, 11:26 AM
Hey everone, I'm brand new to this, and I'm not sure how to install this plugin is there several 'hooks' that I install on this plugin or do I only install 2, - 1 for each file? (there are only two files in the plugin)

I read the general forum instructions for plugins, but I'm still not sure what to do. I'm not sure how to install this plugin.

Dave :nervous:

craigbrass
10-20-2005, 02:36 PM
I just installed the product. Thanks for it!!

But I've found a bug. I posted some announcements a while ago and formatted them in HTML. Then I installed this plugin, and suddenly my announcements were plain text. There was no HTML format.

I hope you can fix this problem soon.

Thanks!

hydrostatic
10-21-2005, 04:14 AM
When trying to uninstall as Andreas suggested, it gives me another SQL error

Database error in vBulletin 3.5.0:

Invalid SQL:
ALTER TABLE vb3_usergroup DROP allowhtmlpermissions;

MySQL Error : Can't DROP 'allowhtmlpermissions'; check that column/key exists
Error Number : 1091
Date : Friday, October 21st 2005 @ 12:10:26 AM
Script : http://www.blootix.com/forums/admincp/plugin.php
Referrer : http://www.blootix.com/forums/admincp/plugin.php?do=productdelete&productid=nzbgroupallowhtml&s=
IP Address : --------------
Username : Blootix
Classname : vb_database

hydrostatic
10-21-2005, 04:35 AM
Nevermind, I just deleted the uninstall code in the plugin and it worked... but did anything happen to my database because of this?

actolearn
10-24-2005, 02:01 AM
This will not work retroactively.

is there a way this can be tweaked so that it would work retroactively?

NxTek
10-26-2005, 08:56 PM
I uploaded bitfield_allowhtml.xml and imported product-nzbgroupallowhtm3.5.0.xml, and tried a new post that contained html tags. It just doesn't work. :(

The Posting Rules also says HTML code is Off.

Is there any way to debug why this isn't working?

kall
10-26-2005, 10:30 PM
I uploaded bitfield_allowhtml.xml and imported product-nzbgroupallowhtm3.5.0.xml, and tried a new post that contained html tags. It just doesn't work. :(

The Posting Rules also says HTML code is Off.

Is there any way to debug why this isn't working?

Have you set your Usergroup to be allowed to post in HTML? In the Usergroup manager?

Anon47
10-27-2005, 10:14 AM
1) Uninstall
2) Upload the bitfield XML to includes/xml
3) Install

This is necessary, otherwise the bitfield cache will not get rebuilt resulting in errors in usergroup manager
When I try to upload the bitfield_allowhtml.xml file, I get a vBulletin message saying "Invalid File Specified"


Any idea what the problem is?


Edit: I have a much bigger problem now. After uninstalling and reinstalling the product xml, I get this error message on every page. I can't even access my admin cp.

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1023


Unable to add cookies, header already sent.
File: /home/********/public_html/****/boards/includes/class_core.php
Line: 2903

http://hsbb.org/boards/


I broke my board. :(

NxTek
10-27-2005, 02:55 PM
Have you set your Usergroup to be allowed to post in HTML? In the Usergroup manager?
Yes I have, for Administrators.

kall
10-27-2005, 06:43 PM
When I try to upload the bitfield_allowhtml.xml file, I get a vBulletin message saying "Invalid File Specified"


Any idea what the problem is?


Edit: I have a much bigger problem now. After uninstalling and reinstalling the product xml, I get this error message on every page. I can't even access my admin cp.



http://hsbb.org/boards/


I broke my board. :(

PM sent man..hope we can get this fixed for you.

@NxTek: Please provide a URL to a post that you have made as an admin where this is supposed to be parsed.

NxTek
10-27-2005, 07:13 PM
@NxTek: Please provide a URL to a post that you have made as an admin where this is supposed to be parsed.

http://www.onlinepokerlistings.com/forums/showthread.php?p=423

If you need further access please PM me and I'd be glad to give you access.

Anon47
10-27-2005, 07:45 PM
PM sent man..hope we can get this fixed for you.
Thanks again! The tools.php file did the trick.


*clicks install*

vBFreak
10-29-2005, 11:38 AM
Could you implement something that would parse the signatures of admins in PMs? There's still only the HTML-Code, seems the thingie isn't working there...

DarrenS
11-01-2005, 08:59 PM
Not sure what's going on here. I uninstalled my old copy, downloaded a fresh from the current zip, uploaded the files to /includes/xml/ and reinstalled it through Manage Products.

It's showing up as installed on my Products list, I have four hooks (three active) listed in the Plugin Manager, but it isn't doing anything. I'm not getting the "Should this usergroup be allowed ..." variable added to the usergroup manager.

DS MrSinister
11-08-2005, 02:07 AM
any way to get this to work with vBadvanced CMPS so it will not show the code on the front page?

silurius
11-11-2005, 11:10 PM
OK I'm not sure if I installed correctly. Perhaps add step-by-step instructions to the first post? Here's what I did:

1. Edited bitfield_allowhtml.xml for my usergroup (admin only)
2. Uploaded bitfield_allowhtml.xml to \includes\xml
3. Installed product-nzbgroupallowhtm3.5.0.xml in product mgr
4. Went to admin group permissions and enabled radio option for this

I posted some html and it just came out as html. I am only able to post html correctly if I enable html for that forum, which unfortunately also enables html for all other users as well.

Edit: Weird, I found an inactive version of this plugin in my plugin mgr, right next to an active one. I don't recall ever installing this before though. Anyway deleting and reinstalling it did the trick. Great hack!

Yorixz
11-14-2005, 06:03 AM
Works perfectly for me, thanks a lot!

argash
11-15-2005, 05:02 AM
I'm looking for something similar to this but haven't found it yet so maybe this could be adopted. I want to give certain usergroups permission to use HTML and the IMG tag in their signature. Can this script do that? or will I need to hack? is there another hack that already does what I'm looking for?

Luggruff
11-16-2005, 11:13 AM
Hmm, my bulletin board won't accept this script. May be because I have 3.5.1?
Could you update the script??

..Problem fixed.

nubian
11-21-2005, 03:22 AM
does this allow html anywhere; even in signitures?

Hmm, my bulletin board won't accept this script. May be because I have 3.5.1?
Could you update the script??

..Problem fixed.

so does this work for 3.5.1?

mili
11-26-2005, 06:02 PM
When I enter HTML that has tables there is a HUGE blank space above the very first cell.
Check it out at http://www.dssftp.com/forum/showthread.php?p=316061#post316061
The code that is in there is
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">&nbsp;</td>
</tr>
<tr>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">test</td>
<td width="20%">&nbsp;</td>
</tr>
</table>


mili

Luggruff
11-27-2005, 05:32 PM
does this allow html anywhere; even in signitures?



so does this work for 3.5.1?

Yuppers ! ;)
It was just me having a hard time understanding how to install it ;D

EasyTarget
11-28-2005, 05:19 AM
Is there any way to get the code, php and html vb tags to show the code in the same way it does when html is not allowed?

kall
11-28-2005, 05:23 AM
Possibly by adding [noparse] tags?

I dunno. :)

EasyTarget
11-28-2005, 05:28 AM
I think that only works for vb code apparently, not raw php/html I don't think. but I did try it to see if it would work.. that's what led me to post :p

lsgworldl
11-28-2005, 07:51 AM
gotta love hacks wiht 0 instructions on how to install them, makes me love PHP programmers even more then I hate them already

kall
11-28-2005, 08:14 AM
gotta love hacks wiht 0 instructions on how to install them, makes me love PHP programmers even more then I hate them already

The .zip has been updated with a comple folder structure and step-by-step instructions.

(Forgive me for asking, but should someone who can't figure out what to do with a bitfield xml and a product xml REALLY be allowing people to post HTML?)

lsgworldl
11-28-2005, 03:28 PM
. :devious: :devious: :devious:

kall
11-28-2005, 04:02 PM
This is why I hate most programers, they asume ppl know what to do with there stuff just coz they do, I am very new to VB, I have no idea how to set permission for a group to post html, and no instructions in your hack to tell any one how to or where to put it, and I see ppl have asked what to do with the files here, so I am not the only one, gotta love pl who make somthing and then provide zero instructions, I just hope next time you buy a product you dont know how to use and it also comes with no instructions

LMFAO you call those instructions, your a moron, it does not tell you how to get your hack to work, good try with the communcating, but what do you expact from a guy with no social skills

The instructions in the install file tell you exactly what to do.

What is so hard to follow about the following? Upload the includes folder within the upload folder to your /forums/ directory. Using the Product Manager in your AdminCP, import the product. To turn on HTML Parseing for a Usergroup, go to Usergroup Manager and Edit the Usergroup's settings. Look for 'Should this usergroups HTML posts be parsed?' and set it to YES.

I am terribly sorry that you fail to understand the basic concepts of the vBulletin Product system.

It is not my place to train you in this regard. Its also not my place to provide support to someone rude enough to ask for it without clicking install.

Luggruff
11-29-2005, 10:39 AM
Is there any way to get the code, php and html vb tags to show the code in the same way it does when html is not allowed?

<a href="thepage.htm">The Link</a>
..add a space where it matters and the code will be broken, and shown as plain text ;)
< a href="thepage.htm">The Link</a >

lsgworldl
12-01-2005, 11:51 AM
The premier online credit card processing service provides a complete low cost turn-key operation including 24/7 support, your own individual merchant account - no factoring, no piggybacking - fully automated online secure transactions. Nearly all merchant types accepted including brand new Internet sites, mom and pops, bad credit, no credit, high volume accounts.



http://www.tkqlhce.com/click-1848433-12876" target="_top" >
http://www.tqlkg.com/image-1848433-12876" width="468" height="60" alt="Credit Card Processing Online" border="0">

http://pspgameforums.com/forum/showthread.php?t=21

<table width="100%" border="0">

<tr>

<td><div align="center"><a href="http://www.tkqlhce.com/click-1848433-12876" target="_top" >

<img src="http://www.tqlkg.com/image-1848433-12876" width="468" height="60" alt="Credit Card Processing Online" border="0"></a>

</div></td>

</tr>

</table>

http://www.tkqlhce.com/click-1848433-12876

http://pspgameforums.com/forum/showthread.php?p=30#post30

http://pspgameforums.com/forum/showthread.php?p=30#post30

its not showing the html as banner adds like it is meant to be

kall
12-01-2005, 04:08 PM
Given that the code that you posted above doesn't have any opening html tags (like <a> or <img>), no.. my hack doesn't magically fix incorrectly entered HTML.

mili
12-01-2005, 06:02 PM
So you got no idea why my tables are a mile down the page with the code I pasted in the above post?

mili

lsgworldl
12-01-2005, 06:24 PM
Given that the code that you posted above doesn't have any opening html tags (like <a> or <img>), no.. my hack doesn't magically fix incorrectly entered HTML.
WOULD BE NICE TO KNOW WHO YOU ARE QUOTING SO i AM GUESSING ITS ME, FUNNY HOW THE HTML IS CODE i GOT GENERATED FROM A BANNER WEBSITE WHICH WORKS ANYWHERE ELSE BUT NOT IN YOUR HACK LMFAO MORON

lsgworldl
12-01-2005, 06:26 PM
Need to Remortgage? <a href="http://www.jdoqocy.com/click-1848433-10403872" target="_top" >Try our express application</a><img src="http://www.lduhtrp.net/image-1848433-10403872" width="1" height="1" border="0">

http://pspgameforums.com/forum/showthread.php?t=22

does not work

EasyTarget
12-02-2005, 02:01 AM
I really hope he doesn't try to help you any further.

lsgworldl
12-02-2005, 03:20 AM
I really hope he doesn't try to help you any further.
so far he hasnt helped me once :devious:

kall
12-02-2005, 06:51 AM
http://www.tkqlhce.com/click-1848433-12876" target="_top" >
http://www.tqlkg.com/image-1848433-12876" width="468" height="60" alt="Credit Card Processing Online" border="0">

Ok. I tried the piece of HTML in post #139 ( Need to Remortgage? <a href="http://www.jdoqocy.com/click-1848433-10403872" target="_top" >Try our express application</a><img src="http://www.lduhtrp.net/image-1848433-10403872" width="1" height="1" border="0"> . It does not work.
This does: Need to Remortgage? <a href="http://www.jdoqocy.com/click-1848433-10403872" target="_top">Try our express application</a><img src="http://www.lduhtrp.net/image-1848433-10403872" width="1" height="1" border="0" alt="HTML For Dummies" />
It would be really cool if everyone else who has this hack could also post that this works too, just to show you that you are, were, and always will be, wrong about why this hack made your badly-written HTML code not parse.

EasyTarget
12-02-2005, 07:44 AM
works fine for me.. besides the vbulletin conflicts with using html in code tags in a html enabled forum :/

Deimos
12-02-2005, 11:16 AM
Is there anyway this hack can be expanded to include HTML in signatures?

lsgworldl
12-02-2005, 07:29 PM
Ok. I tried the piece of HTML in post #139 (. It does not work.
This does:
It would be really cool if everyone else who has this hack could also post that this works too, just to show you that you are, were, and always will be, wrong about why this hack made your badly-written HTML code not parse.

it is code from CJ, not my code I wrote

<a href="http://www.kqzyfj.com/click-1848433-10294381?url=http%3A%2F%2Fwww.argos.co.uk%2Fwebapp %2Fwcs%2Fstores%2Fservlet%2FArgosCreateReferral%3F storeId%3D10001%26langId%3D-1%26referrer%3DCOJUN%26params%3Dadref%253DVideo+ga mes-%3EPSP-%3EPSP+games%26referredURL%3Dhttp%3A%2F%2Fwww.argo s.co.uk%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FProduc tDisplay%253FstoreId%253D10001%2526catalogId%253D3 801%2526productId%253D173922%2526langId%253D-1&cjsku=5678640" target="_top" >
<img src="http://www.argos.co.uk/wcsstore/argos/images/5678640SPA64UC209455M.jpg" border="0" alt="Grand Theft Auto: Liberty City Stories - PSP."></a>
<img src="http://www.afcyhf.com/image-1848433-10294381" height="1" width="1" border="0">

does not work

http://pspgameforums.com/forum/showthread.php?p=22#post22

zappsan
12-03-2005, 08:05 PM
Nice hack, I installed it, but there is a problem.
The [HTML] bbcode doesn't work correctly anymore.
It's showing up like this for example:<a href=\"http://test.com\">test</a>
The [PHP] one is working though.
Is there anyway this hack can be expanded to include HTML in signatures?
It already works in sigs.
I tried it out.

theodonnells
12-03-2005, 08:26 PM
So you got no idea why my tables are a mile down the page with the code I pasted in the above post?

mili
I read on another thread somewhere(Dont know if it was here) that to correct this problem the guy had edited his html in Frontpage.Supposedly there is an option to remove whitespace!!!And this solved his problem of a huge gap before the content.

Ok found out how to do this in Dreamweaver.......

This is a simple and yet very powerful "trick".
Here's how it works:

Open a document,
Click inside Code View,
Create an empty line,
Left-click in the margin on the left hand-side of that empty line (it should turn black on Windows, blue on Mac),
Select Menu > Edit > Find and Replace (keyboard shortcut: Ctrl + F),
Select an option in the "Find in:" dropdown box,
Select "Replace All" and you're done.


This removes all whitespace in your html document and when pasted into vbulletin your content is at the top and no gap to be seen....
Works for me....

Luggruff
12-04-2005, 10:39 AM
Nice hack, I installed it, but there is a problem.
The [HTML] bbcode doesn't work correctly anymore.
It's showing up like this for example:<a href=\"http://test.com\">test</a>
The [PHP] one is working though.

It already works in sigs.
I tried it out.

I did too, and for me it didn't work at all.

kall
12-04-2005, 04:25 PM
Nice hack, I installed it, but there is a problem.
The [HTML] bbcode doesn't work correctly anymore.
It's showing up like this for example:<a href=\"http://test.com\">test</a>
The [PHP] one is working though.

It already works in sigs.
I tried it out.

I have just tried this on a Forum without this Modification installed, the Forum I posted in has HTML turned on.

What you are experiencing is a vBulletin Stock Feature/Bug. You may want to report this in the vB Bug Tracker...you will have to remove this Modification if you want them to look at it tho. :)

Ghanem
12-04-2005, 06:24 PM
I read on another thread somewhere(Dont know if it was here) that to correct this problem the guy had edited his html in Frontpage.Supposedly there is an option to remove whitespace!!!And this solved his problem of a huge gap before the content.
Thank you kall for the hack
and thank you theodonnells, that solved my problem..

but is there another professional way to over come this problem..

Regards

mili
12-04-2005, 11:04 PM
There is no white spaces in this simple code
<table width="100%" border="0" cellpadding="1">
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
And yet this is what gets displayed:
http://www.dssftp.com/forum/showpost.php?p=316061&postcount=1

mili

steven s
12-04-2005, 11:17 PM
I must be an idiot!
Installed correctly.
Instructions could not have been simpler.

Created a new usergroup with html enabled.
HTML code is ON.

So how do I post in HTML? I tried simple HTML tags which do nothing.
Found nothing in the vB online manual.

Followup: I enabled html on my other board that doesn't have this plugin and was able to use HTML. Is there anything else I need to do to enable this plugin?

And another followup: In my plug in manager I have
Allow Usergroups to post HTML active
Allow Usergroups to post HTML off

kall
12-05-2005, 03:44 AM
OK.. the OFF plugin is one I left in by accident...leave it OFF.

Turn the option on in the Usergroup Manager (at the bottom of the Usergroup you are editing) for your Usergroup.

Just post the html...no need for special tags.

kall
12-05-2005, 03:46 AM
There is no white spaces in this simple code
<table width="100%" border="0" cellpadding="1">
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
And yet this is what gets displayed:
http://www.dssftp.com/forum/showpost.php?p=316061&postcount=1

mili

If I do that, I get the following: http://www.nzboards.com/forums/testing-zone/just-test-20123.html#post42145

steven s
12-05-2005, 10:49 AM
Just post the html...no need for special tags.
Should this usergroups HTML posts be parsed? YES.
Nope. Still doesn't work. I'll reinstall and see what happens.

theodonnells
12-05-2005, 10:57 AM
There is no white spaces in this simple code
<table width="100%" border="0" cellpadding="1">
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
And yet this is what gets displayed:
http://www.dssftp.com/forum/showpost.php?p=316061&postcount=1

mili
Here is your code with whitespace removed.
<table width="100%" border="0" cellpadding="1"><tr> <td>test</td><td>test</td><td>test</td></tr><tr> <td>test</td><td>test</td><td>test</td></tr></table>

As you can see all it does is remove the lines in your code ie the returns..
Copy and paste it and see..

bigfoot
12-13-2005, 09:01 AM
I followed the install.txt file but its seems not to work. Plugins are enabled. I'm running vB 3.5.1

CodeRed
12-19-2005, 05:03 PM
So you got no idea why my tables are a mile down the page with the code I pasted in the above post?

mili

mili i had the same problem and the resolution ive found is to take all of the HTML code merge it all to a single line of text. then copy that into your thread.

i copy all of my html into TEXTPAD, CTRL+A to select it and CTRL+J to "Join Lines" and it merges all of the code to a single line. then i copy and paste that into my thread...

murrtex
12-24-2005, 11:38 AM
I use this hack and its great but,
I have some problems;

I want to use this code in my message
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />

but it looks like that <strong><phrase 1=\"$bbuserinfo[username]\">$vbphrase[welcome_x]</phrase></strong>

what's that \ \ \ \ ???
between html tag..

I can't use HTML,QUOTE ,CODE and PHP tag codes.

what should we do?

Doozilla
12-29-2005, 09:43 PM
This hack assumes a level of skill that I am lacking in. I am very new to vBulletin, but I have very specific needs, and I do know exactly what I want.

This hack is one of those things that I need very much. The install.txt is so vague that I can't seem to get this to work.

By reading this thread I have run into many things I do not understand. I have uploaded this bitfield_allowhtml.xml to my includes/xml directory, and that's all. When I checked my usergroup manager I saw no option to "allow for this usergroup's HTML to be parsed". Also, what is a bitfield, why is it important to me, and why do the 3 CSV numbers in the XML mean to me? Do I need to edit them? Does "rebuilding bitfields" mean anything to me?

My intention is to have only Admins HTML parsed, can someone please explain in a more specific way how I need to install this and accomplish my end goal? I would be very appreciative. Thank you

Doozilla
12-29-2005, 09:45 PM
I am going to leave my above post because it is still valid by many aspects, however I just went into the plugin manager on blind luck and imported the extraneous xml file in cluded in the root unzip directory for this hack and *poof* the option show up. Awesome.

YOimYO
12-30-2005, 08:23 AM
Installed fast and easy. works great ...... 3.5.0 gold ;)

EasyTarget
12-31-2005, 01:40 AM
*feature request*

would it be possible to add an option/check box on the post so that a user which has html posts enabled can choose to parse the code or not?

himerus
01-03-2006, 04:07 PM
So Far, I'm having a couple of problems... I'm ONLY using this mod for my own purposes as board admin... the option is NOT available to ANY other usergroups, and will never be for security purposes....

It will allow me to post with freedom, and not having to convert some items to bbcode...

I so far have been able to only post simple HTML tags....

what about <script></script> tags???? they just seem to be ignored completely...

furst
01-04-2006, 03:52 AM
This is a GREAT hack. I was looking through vb.org for something that might make the rss bots work a little nicer and came across this. Well done.

SIINSI
01-19-2006, 10:33 PM
This is a GREAT hack. I was looking through vb.org for something that might make the rss bots work a little nicer and came across this. Well done.

I haven't read through all the pages but, I did come across a pretty big problem so far.

I am the only one with permission to post html and I can post it and see it no problem but, other users cannot see the HTML. It just shows as text.

Others users could not even see HTML in Announcements and a closed forum that I use to post HTML in anymore either. I could see it but, the just saw text.

I deactivated the hack and all is fine again.

If you get a fix for that, it would be perfect.

Thanks,
Miguel

yessir
01-29-2006, 01:25 AM
Seems to be working fine on my board. Cheers.

Btw Kall, I used to live in Auckland (North Shore). NZ is God's Country without a doubt.

Eagle Creek
01-29-2006, 10:10 AM
Seems to be working fine on my board. Cheers.

Btw Kall, I used to live in Auckland (North Shore). NZ is God's Country without a doubt.

I have a problem (I guess a bug).

I disabled HTML in signatures. And I have the administrator and supermoderator usergroup permission to post HTML.
So far no problems. At the forums (threads) and in the signatures HTML is parsed. But; when somebody receives a PB from a admin/smod the HTML in the signature isn't parsed and you can see the raw HTML code.

Can you fix this?

Puntoboy
02-07-2006, 06:01 PM
can't seem to get this to work with a paypal button code.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but5.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----
">
</form>

Doc Great
02-08-2006, 06:52 AM
can't seem to get this to work with a paypal button code.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but5.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----
">
</form>
Try to put

<table width="100%" border="0"><tr><td><div align="center">

in front and

</div></td></tr></table>

@ the end, should work now ... :)

##################################

Does anybody got js (javascript) working in signatures??

Puntoboy
02-08-2006, 03:08 PM
Try to put

<table width="100%" border="0"><tr><td><div align="center">

in front and

</div></td></tr></table>

@ the end, should work now ... :)

cheers, that works but then paypal gives an error.

Gizmo999
02-21-2006, 02:05 PM
Great hack and I've got it installed correctly surprising myself as I did it :D

I'm trying to use the following php code to show what I'm listening to in Itunes in my signature but it won't display, can this hack handle PHP?? If so what am I doing wrong :(

<?php include('http://www.myserver.com/itunes.php'); ?>

EasyTarget
02-21-2006, 03:13 PM
I'm taking a wild guess here but since its called allow html and not allow php, I'm guessing no.

kall
02-21-2006, 04:29 PM
I'm taking a wild guess here but since its called allow html and not allow php, I'm guessing no.

Plus, there's probably a vB setting that stops this.. the old 'Allow Dynamic Content in Signatures' setting.

Eagle Creek
02-21-2006, 07:28 PM
I have a problem (I guess a bug).

I disabled HTML in signatures. And I have the administrator and supermoderator usergroup permission to post HTML.
So far no problems. At the forums (threads) and in the signatures HTML is parsed. But; when somebody receives a PB from a admin/smod the HTML in the signature isn't parsed and you can see the raw HTML code.

Can you fix this?

:) repost

CSS59
02-26-2006, 10:39 PM
wow! This is the best hack ever !!!!!!!!!!!!!!!!

Thank you x10000000000000000000000000 :)

majoreyeswater
03-05-2006, 11:06 AM
I am having problems with this hack. I have Administrators enabled to have HTML parsed, but it doesn't work. I still have to enable HTML in the forum in order to have the HTML display as anything other than text.

In plug-in manager the feature is shown as in the preview. Is this correct.

Can anyone help wuold be much appreciated..

kall
03-05-2006, 04:38 PM
:) repost

Oh, sorry..

Umm, perhaps one of the plugins needs to be added to one of the pm_ hooks?

Pickalo
03-06-2006, 12:03 AM
Problem here:

I've tried uninstalling and re-installing, but I've had the same usergroup problem each time:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 666

I tried to uninstall yet again but it will not uninstall - I have even tried using the advanced product manager to uninstall. It also seems to give me a database error when I try to uninstall the product or edit the usergroups now.

Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '<font color=\"#0000FF\"><b>',
`closetag` = '</b></font>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`forumpermissions` = '1048575',
`attachlimit` = '0',
`pmquota` = '350',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '31',
`profilepicmaxwidth` = '320',
`profilepicmaxheight` = '240',
`profilepicmaxsize` = '102400',
`avatarmaxwidth` = '160',
`avatarmaxheight` = '160',
`avatarmaxsize` = '102400',
`vbspacecomments` = '31',
`anymediapermissions` = '1',
`allowhtmlpermissions` = ''
WHERE usergroupid=6;

MySQL Error : Unknown column 'allowhtmlpermissions' in 'field list'
Error Number : 1054
Date : Sunday, March 5th 2006 @ 08:01:10 PM
Script : ***/usergroup.php
Referrer : ***/usergroup.php?do=edit&usergroupid=6
IP Address :
Username :
Classname : vb_database

Please help.


edit:

Here is the database error when I try to uninstall:

Database error in vBulletin 3.5.3:

Invalid SQL:
ALTER TABLE usergroup DROP allowhtmlpermissions;

MySQL Error : Can't DROP 'allowhtmlpermissions'. Check that column/key exists
Error Number : 1091
Date : Sunday, March 5th 2006 @ 08:03:42 PM
Script : ***/plugin.php
Referrer : ***/plugin.php?do=productdelete&productid=nzbgroupallowhtml&s=
IP Address :
Username :
Classname : vb_database

edit again:

I managed to uninstall it again, I just had to go into the advanced edit, and click delete for the install / uninstall code and then proceed with further removal. I tried installing it again, but just like last time I get the Warning:
mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 666

senkin
03-07-2006, 05:04 AM
Great hack, but one downside so far. When I edit my signature the preview dont show the HTML parsed. Nor does it when I am about to post. But after I do it shows just fine.

Kroby
03-10-2006, 01:52 PM
Thank you for this hack, work fine on my board :)

Fenriz
03-11-2006, 03:50 AM
I am having problems with this hack. I have Administrators enabled to have HTML parsed, but it doesn't work. I still have to enable HTML in the forum in order to have the HTML display as anything other than text.

In plug-in manager the feature is shown as in the preview. Is this correct.

Can anyone help wuold be much appreciated..

I have exactly the same problem.

hobbes747
03-16-2006, 02:13 AM
It's not working for me after the latest upgrade. :surprised: I tried reinstalling the hack too.

majoreyeswater
03-16-2006, 06:34 AM
I am having problems with this hack. I have Administrators enabled to have HTML parsed, but it doesn't work. I still have to enable HTML in the forum in order to have the HTML display as anything other than text.

In plug-in manager the feature is shown as in the preview. Is this correct.

Can anyone help wuold be much appreciated..

Still can't get this to work. It doesn't cause me any errors, but seems to be just a dormant addition to my board.

Doesn't matter what I type, come sup as text, and so I have to manually enable HTML, add my post, then disbale it (for security reasons obvioulsy), which defeats the purpose of the mod doesn't it.

I can tell from everyone else's post that this mod works, so know it must be something on my board, would appreciate any help, anyone can offer...

EBdotCX
03-18-2006, 02:22 AM
I think something has changed since 3.5.0. My install, like those above, doesn't allow the HTML. It also doesn't list that user as being allowed to post HTML.

EasyTarget
03-18-2006, 03:28 AM
its worked for me on every version, including 3.5.4 currently.

Charmedfan
03-20-2006, 01:55 PM
It doesn`t work on my board too. I doesn`t see the setting in the usergruops manager. Why not? Thanks for your help.

Charmedfan
03-20-2006, 02:08 PM
I'am so stupid. :D I forgett to upload the upload folder.

obmob
03-22-2006, 12:53 AM
I'am so stupid. :D I forgett to upload the upload folder.OMG, i was just thinking i missed something... will test again :surprised:

Sculli
04-01-2006, 08:26 AM
I just installed this on 3.5.4 and it works fine for regular HTML.
Unfortunately it does not work with jscript though.

timk
04-04-2006, 01:14 PM
I cannot got this to work. It just displays as text even though it says at bottom of the page that HTLM is on.

Can anyone help ?

Atakan KOC
04-09-2006, 01:58 PM
Nice. Thanks. Works.

tazping2000
04-12-2006, 12:33 PM
I just tried installing this, and now it's messed up my admin options.

When installing the plugin I got 'Invalid File Type', now when I go to usergroups I get;

Fatal error: Could not open /home/winawin/public_html/forum/includes/xml/bitfield_vbulletin.xml in /includes/class_bitfield_builder.php on line 125

Help!!

SHalliday
04-16-2006, 10:41 AM
Nice plugin but unfortunately I installed but was unable to get it working correctly so I decided to uninstall for now. Will keep watching this thread and will try to install again if further updates are made.

ShackMaster
04-19-2006, 10:29 PM
It's showing as installed on the Plug-in Manager but there is no option in Usergroup Manager to allow HTML.

Is this file [ product-nzbgroupallowhtm3.5.1.xml ] that was unzipped have to be uploaded too? It was not unzipped to the xml folder but rather unzipped to the root folder where the uploads folder is.

majorxp
04-27-2006, 09:23 PM
Works brilliantly!

Installed.

Thanks!

Boofo
05-02-2006, 12:46 PM
The demo link in your first post only shows the html code in that forum. ;)

kall
05-02-2006, 06:43 PM
Thank you sir! Demo link updated.

Boofo
05-02-2006, 07:02 PM
Any way to have a per user permission setting override?

kall
05-03-2006, 04:59 AM
Any way to have a per user permission setting override?
There should be... my brain's a bit scrambled at the moment, tough day at work but..
// Was this post made by an allowed Usergroup member?
if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])

Somewhere in there... a "or $bbuserinfo[userid] == 'x'" style thing.. Did you mean 'override those who can't, so they can... or override those who can, so they can't?

I am hoping someone with a working brain will be able to sort it out. :)

Boofo
05-03-2006, 05:26 AM
There should be... my brain's a bit scrambled at the moment, tough day at work but..
// Was this post made by an allowed Usergroup member?
if ($perms['allowhtmlpermissions'] & $this->registry->bf_ugp_allowhtmlpermissions['canposthtml'])

Somewhere in there... a "or $bbuserinfo[userid] == 'x'" style thing.. Did you mean 'override those who can't, so they can... or override those who can, so they can't?

I am hoping someone with a working brain will be able to sort it out. :)

Make is so if a usergroup is allowed to use it, you can turn it off for a member in that grouop and leave it on for the others. And also, if it is turned off for a group, be able to turn it on for a member, while leaving it off for the other memebers in that group.

I think I'll go lie down now, my head hurts. ;)

kall
05-03-2006, 05:48 AM
Both??! You want BOTH?

:P

Seriously, someone else will need to step in at this point. I will activate the Andreas Beacon and see what happens. :)

Sparks Kelly261
05-09-2006, 01:54 PM
When I try and import the product.
Vbulletin produces the following error.

vBulletin Message


Invalid File Specified

Now, I tried from both importing server side, and upload, both give same error.
What do I do?

Boofo
05-09-2006, 01:57 PM
When I try and import the product.
Vbulletin produces the following error.

vBulletin Message


Invalid File Specified

Now, I tried from both importing server side, and upload, both give same error.
What do I do?

Did you try uploading it as a plugin? This needs to be imported as a product. ;)

Sparks Kelly261
05-09-2006, 02:16 PM
Yes.
I tried as a Product first, then plugin.
Both result in the same error.

Boofo
05-09-2006, 02:20 PM
Yes.
I tried as a Product first, then plugin.
Both result in the same error.

Clear your cache and try re-downloading the file. You may have gotten a corrupted one.

Sparks Kelly261
05-09-2006, 03:13 PM
Sorry, your right.
I must have gotten a corrupt download file.

thanks!
Great Hack!

kall
05-09-2006, 06:38 PM
Clear your cache and try re-downloading the file. You may have gotten a corrupted one.
Thanks Boofo! I would never have thought of that!

Boofo
05-09-2006, 07:34 PM
Just a lucky guess is all. ;)

Titania
05-14-2006, 03:05 AM
Hmmm...doesn't work for me either. I have the option to allow HTML for usergroups in my admin CP but, like the others, I just get the html showing up as text.
I'm on VB 3.5.3

hobbes747
05-24-2006, 06:01 AM
It's not working for me after the latest upgrade. :surprised: I tried reinstalling the hack too.

Nevermind. It's working after I installed it again. v:nervous:v

vBFreak
05-24-2006, 11:03 PM
Is there any fix around to fix parsing html in signatures in private messages? I've re-installed the whole thingie but it seems that it doesn't parse html in signatures of PNs, regardless of the usergroup's setting...

Maybe I have to refresh some cached thingies or so? who can help me out? ;)

kall
05-25-2006, 12:13 AM
Possibly add something to a hook in private.php?

I am at work at the moment, and have no real time to check it out this week..I will try, but if anyone else wants to do it, feel free. :)

PeZzy
05-27-2006, 10:04 AM
I tried to install this but got the inactive entry in the plugin manager that was posted earlier in this thread. It says HTML is on but nothing is parsed. Same thing after uninstalling and reinstalling. VB 3.5.4 with .php5 (edited the xml)

I enabled the inactive plugin and it works...thanks. Sorry - first plugin. :)

Nathan2006
05-29-2006, 10:23 PM
Runs and clicks Install:D

Thank you kall this is great!:cool:

mano1.com
05-31-2006, 03:11 AM
excellent! installed!
Thank you

:)

mano1.com
06-05-2006, 02:20 AM
Hi

for some reason when I post divs

such as

<div id="needThisDiv">Content</div>

... the div tags are removed by vB... :(

I am doing some cool JAvascript-based workaround to play videos / flash movies which use a div tag and it is not working because of this..

any workaround to keep all my HTML intact?

Thanks!

rogersnm
06-06-2006, 05:25 PM
this may have been mentioned before but at 3am in the morning i can't be bothered to cruel through 15 pages worth of stuff.

The html for admin is enabled but it doesn't work when i try and post it. View this post for an example:
http://forums.perfectforce.com/showthread.php?t=172
If <a href="http://live.xbox.com/member/Bullet Stream">Bullet Stream</a> was a true gamer, he would have played yesterday, but he decided to do something else instead. He better not have another console...

Either it's just me or that link doesn't work... the link goes to: http://live.xbox.com<b>* Nicks Xbox 360mber/Bullet Stream and it's supposed to go to http://live.xbox.com/member/Bullet Stream so somethings being messed up along the way.....

Boofo
06-06-2006, 06:14 PM
this may have been mentioned before but at 3am in the morning i can't be bothered to cruel through 15 pages worth of stuff.


You are kidding right?

kall
06-06-2006, 06:39 PM
Either he is kidding, or for some reason he thinks that URLs can have spaces in them...

OR! He has a /me hack installed!!

Nick, look how the link has /me in it (/member). the /me hack is interfering.

Eagle Creek
06-06-2006, 06:41 PM
Either he is kidding, or for some reason he thinks that URLs can have spaces in them...

OR! He has a /me hack installed!!

Nick, look how the link has /me in it (/member). the /me hack is interfering.
You smart man!

GREAT Avatars overhere :D.

Is that little image done automatic?

RFViet
06-06-2006, 06:49 PM
thanks, this is what i'm looking for !!!

rogersnm
06-06-2006, 07:16 PM
that would be it xD and no i am not kidding it was 3am in the morning it's not 5:15am :D

btw. url's can have spaces in.

And yes it was the me hack.. xD

Boofo
06-06-2006, 07:32 PM
that would be it xD and no i am not kidding it was 3am in the morning it's not 5:15am :D

btw. url's can have spaces in.

And yes it was the me hack.. xD

Use Hellcat's /me hack and you won't have those problems.

rogersnm
06-07-2006, 06:48 PM
i have another problem xD

if you go to: http://forums.perfectforce.com/showpost.php?p=804&postcount=1

then you can see the whole thing is messed up.

i think it's domething to do with the table... in the post i have this:
Do you have a Word Press Blog? If so tell us the url and the name of the forum you want and we'll put in your feed after reveiwing the site. If you don't have a blog please use the form located below so we can set one up.

<font face='arial' size=2><b>All fields marked with a * are required:<br>
<form enctype='multipart/form-data' action='process.php' method='post'>
<table border=1 bordercolor='#000000'><tr><tr>
<table width='50%' border=0>
<tr><td bgcolor='#C0C0C0'> Password<font color='#ff0000'>*</font></td>
<td bgcolor='#C0C0C0'>
<input type=password name='Password' size=35></td></tr>
<tr><td bgcolor='#CCCCCC'> Admin nickname<font color='#ff0000'>*</font></td>
<td bgcolor='#CCCCCC'>
<input type=text name='Adminnickname' size=35></td></tr>
<tr><td bgcolor='#C0C0C0'> Uour Email Address</td>
<td bgcolor='#C0C0C0'>
<input type=email name='UourEmailAddress' size=35></td></tr>
<tr><td bgcolor='#CCCCCC'> Site name<font color='#ff0000'>*</font></td>
<td bgcolor='#CCCCCC'>
<input type=text name='Sitename' size=35></td></tr>
<tr><td bgcolor='#C0C0C0'> Description<font color='#ff0000'>*</font></td>
<td bgcolor='#C0C0C0'>
<input type=text name='Description' size=35></td></tr>
<tr><td bgcolor='#CCCCCC'> Email account username</td>
<td bgcolor='#CCCCCC'>
<input type=email name='Emailaccountusername' size=35></td></tr>
<tr><td bgcolor='#C0C0C0'> Email account password</td>
<td bgcolor='#C0C0C0'>
<input type=password name='Emailaccountpassword' size=35></td></tr>
<tr><td bgcolor='#CCCCCC'> POP or SMTP server</td>
<td bgcolor='#CCCCCC'>
<input type=text name='POPorSMTPserver' size=35></td></tr>
</table>
</td></tr></table>
<input type='submit' value='Submit Form'> <input type=reset value='Clear Form'></form>

and if you try it vB messes it up anyway. any ideas?

mili
06-07-2006, 06:53 PM
I mentioned that it screws up tables like 3 months ago. No fix yet.

mili

rogersnm
06-09-2006, 04:29 PM
ok, does it work on 3.6?

good2laugh
06-13-2006, 05:02 PM
ok, does it work on 3.6?

I just installed it on 3.6 and it seems to be working. It's not on a live board yet so no idea if everything is as should be. Seems to be fine though.

Thanks Kal < waddles off to find the install button >

RFViet
06-13-2006, 07:37 PM
there is some posts , I want to turn off HTML, what should i do ??

creativepart
06-14-2006, 06:36 PM
I'm trying to get HTML to work for a few users. So this looked good.

I installed it, and turned on the parse html feature for that user group and did a test of a simple <li> next to a sentance.

Now Admins can see the bullet placed by the <li> but no one else can see it -- not even in the special usergroup with html parse set to yes.

Am I missing something? And why does the plugin manager show two installs of this plugin with one struck thru?

I-Web
06-15-2006, 07:05 AM
Yup works on 3.6 beta 2 have it running on a live board and as stated it is superb for rss feeds

bergonio
06-22-2006, 04:27 PM
Help!! I installed but people keep using the HTML... what I did wrong? I read all this thread and looks like I have to edit one XML.. if so... tell me what to read or what to do to make it !

thanks

Snake
06-23-2006, 05:47 PM
I've installed this hack but it doesn't allowe usergroups to parse HTML in signatures.

kall
06-23-2006, 09:02 PM
I've installed this hack but it doesn't allowe usergroups to parse HTML in signatures.
Where exactly do I say that it does?

Snake
06-24-2006, 01:45 PM
Nowhere but by looking at this thread, I thought it would parse the HTML anywhere on the forums. Oh well...

Freakpyromaniac
06-26-2006, 08:33 AM
Is my understanding okay when i need to turn HTML on in the forum(Categories) that i wanted to use it. After that i need to give the right usergroups permissions ?

Or is it not needed to turn it on at the forums(categories)?

kall
06-26-2006, 08:47 AM
Nowhere but by looking at this thread, I thought it would parse the HTML anywhere on the forums. Oh well...
I think someone did write a plugin that does signatures.. try a search. :)

@Freak: No no.. dont touch the Forum level, the settings at Usergroup level override it if set to Yes.

Snake
06-29-2006, 07:04 PM
I've done a couple of searches but sadly with no result. Can you get that hack for me please?

kall
07-04-2006, 09:04 AM
I've done a couple of searches but sadly with no result. Can you get that hack for me please?
https://vborg.vbsupport.ru/showthread.php?t=75590

:)

Snake
07-04-2006, 05:25 PM
Thanks but as you can see, I'm currently running on v3.5.4. :)

tazping2000
07-05-2006, 07:18 AM
Thanks for this, finally got it working :)

sydude
07-07-2006, 04:13 PM
Kall, great hack, thanks. I have a couple of questions please, which I would be most appreciative if you could help me with.

1. If I disable the hack and turn on HTML on the Forums level, I can copy and paste web pages or content right into the message field of a new post, and vBulletin will perfectly parse the HTML. But this doesn't work if I use the hack - if I copy and paste, it will just turn it into BB code and that will not preserve the formatting. And if I open the source HTML and then copy and paste the raw html with the hack enabled, then the formatting is usually totally messed up, probably because of all of the javascript, etc. Is there a way to enable the hack and still be able to copy and paste pre-parsed HTML in from a browser window, instead of having to enter in only simple HTML?

2. I installed this hack last year, and my version number in the product manager was 3.50. I just downloaded and installed (with overwrite) 3.51, but the version number in the product manager is still 3.50. Is that ok?

3. In the plug-in system, for 'Hook Location:bbcode_parse_start' I have two 'Allow Usergroups to post HTML' entries, one disabled and one enabled. I assume that's from the upgrade process. Should I delete the disable one?

Thank you again.

Sy

kall
07-07-2006, 08:33 PM
Hi Sy,

1. Ummm... it doesn't change it into bbcode for me. It doesn't make the page look perfect, as you say..but not turn into bbcode. I am stumped.

2. Yup, perfectly ok.

3. Yes please, as with '2.', it was probably a typo on my part. :)

knimrod
07-14-2006, 04:19 AM
I am having problems with this hack. I have Administrators enabled to have HTML parsed, but it doesn't work. I still have to enable HTML in the forum in order to have the HTML display as anything other than text.

In plug-in manager the feature is shown as in the preview. Is this correct.

Can anyone help wuold be much appreciated..
Still can't get this to work. It doesn't cause me any errors, but seems to be just a dormant addition to my board.

Doesn't matter what I type, come sup as text, and so I have to manually enable HTML, add my post, then disbale it (for security reasons obvioulsy), which defeats the purpose of the mod doesn't it.

I can tell from everyone else's post that this mod works, so know it must be something on my board, would appreciate any help, anyone can offer...

I'm having the same problem (3.5.2 with updates).. Did you ever figure this out?

I'll uninstall if there's no fix.

kall
07-14-2006, 04:58 AM
I'm having the same problem (3.5.2 with updates).. Did you ever figure this out?

I'll uninstall if there's no fix.
What are your PHP and mySQL versions?

What flavour of Linux (or Windows) server?

What version of Apache?

I ask because 296 other people have had no problems with this.

knimrod
07-14-2006, 02:02 PM
What are your PHP and mySQL versions?

What flavour of Linux (or Windows) server?

What version of Apache?

I ask because 296 other people have had no problems with this.

Thanks for responding.

Linux 2.4.21-40.ELsmp
Apache 1.3.36 (Unix)
PHP Version 4.3.11
MySQL 4.0.27-standard

I'm not so sure that some others aren't having a problem and maybe not know it? I didn't realize it until recently even though it's been installed for a bit. Also, I'm having the exact same problem as others have noted and as described by "majoreyeswater".

It works in that past and present posts containing html, that are made by users who are not in a usergroup that is currently html enabled, are not html parsed and past posts made by persons in a usergroup currently enabled for html posts are html parsed. However, if someone in a usergroup currently approved to post html, makes a post containing html, it will not be html parsed unless html was enabled for the forum being posted in at the time the post was made.

So it would appear that posts are somehow "marked" at post time for html parsing but I can't figure out where or how this occurs.

Kungfu
07-22-2006, 05:04 PM
i cant seem to find the setting for this. I looked all over and it doesnt show up. Know why?

good2laugh
07-26-2006, 07:40 AM
looks good. Anyone tried this with 3.6 just wondering if its worth installing now on my 3.54 or waiting for 3.6 and installing. Thanks for the easy instructions too.

I||usi0nz
07-31-2006, 03:36 PM
html parsedd, yayy. Thanks :)

Kungfu
08-02-2006, 01:06 AM
i cant seem to find the setting for this. I looked all over and it doesnt show up. Know why?
anyone? Or can someone please post screenshot. I must be dumb cause i cant find it.