vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Allow Usergroups to Post HTML (https://vborg.vbsupport.ru/showthread.php?t=96926)

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

Quote:

Originally Posted by jesus likes pie
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

Quote:

Originally Posted by Deimos
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

Quote:

Originally Posted by Tulsa
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

Quote:

Originally Posted by KirbyDE
@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

Quote:

Originally Posted by Andreas
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:

Code:

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

Code:

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

Quote:

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

Quote:

Originally Posted by NxTek
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

Quote:

Originally Posted by Andreas
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.

Quote:

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

Quote:

Originally Posted by kall
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

Quote:

Originally Posted by Anon47
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

Quote:

Originally Posted by kall
@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/f...read.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

Quote:

Originally Posted by kall
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!


All times are GMT. The time now is 04:20 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.01554 seconds
  • Memory Usage 1,830KB
  • 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_code_printable
  • (13)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
  • (40)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