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)

RFViet 10-31-2006 02:47 PM

It didn't work with secondary group !!
I create another group which allowed members post html code. Then selected members from registered users, who are allowed to post html code by adding the secondary group above. => That doesn't work .
The question is : how do I allow some members to post html code with this hack ????

RFViet 11-14-2006 01:36 PM

I doesn't work with Preview page !!! Any idea ???

mihai11 11-24-2006 11:38 AM

Quote:

Originally Posted by RFViet (Post 1117086)
I doesn't work with Preview page !!! Any idea ???

Go to "Plugin manager". You should see there 4 hooks: (assuming that you don't have any other plugins installed)
  1. bbcode_parse_start
  2. bbcode_parse_start
  3. editpost_update_start
  4. forumrules

There should be 2 "bbcode_parse_start" hooks. On my system, one of them was disabled by default. After enabling it, the "Preview" page started to work properly.

I tested on VB 3.6.2.



Regards,
Razvan

Despairing 11-25-2006 04:56 PM

After the installation there are codes which I have posted in HTML boxes ([html]<!-- HTML code -->[/html]) like this:

Quote:

HTML Code:

<img src=\"http://www.domain.tld/picture.png\" style=\"border-width: 0px;\" alt=\"\" />

And the original code which I have posted:
Quote:

HTML Code:

<img src="http://www.domain.tld/bildname.png" style="border-width: 0px;" alt="" />

Need help, please!

:mad:

mihai11 11-26-2006 11:12 AM

Quote:

Originally Posted by Despairing (Post 1124936)
After the installation there are codes which I have posted in HTML boxes ([html]<!-- HTML code -->[/html]) like this:
:mad:

I am not sure what your problem is, but read the following about the [HTML] BB tag:

Quote:

The [html] tag allows you to perform syntax highlighting for HTML code.
You should use the [HTML] tag only to display HTML in a nice format, but you should not use it for HTML that needs to be interpreted as such.

zooki 11-28-2006 08:25 AM

it doesnt work !! I am on 3.6.2 and i just wanted it for myself as the admin.

I have checked the option in the control panel, and it does say HTML ON in the bottom of the screen....... But, when i try posting html, it doesnt work.

HTML works if i change the forum properties. But, not with this hack

mihai11 11-28-2006 06:05 PM

Quote:

Originally Posted by zooki (Post 1127073)
it doesnt work !! I am on 3.6.2 and i just wanted it for myself as the admin.

I have checked the option in the control panel, and it does say HTML ON in the bottom of the screen....... But, when i try posting html, it doesnt work.

HTML works if i change the forum properties. But, not with this hack

What HTML you tried but it is not working ? I only tried to post some <a> tags with different targets, something like:

HTML Code:

<a href="http://somepage.name" target="_top"> Page </a>
and that it is working.

NolF 12-03-2006 03:23 PM

Tested on 3.6.4 and it works :D

I have a problem, don't know if its as a result of using this hack or vbulletin itself. What happens is, After posting tables iamges etc... if I try to Advance edit it, or select the alternative view (the one which shows you the post code) all table codes are gone so after saving the editing, The pots loses all its structure

Example:
Before
HTML Code:

<table border=3 width=100% bordercolor=#1066FF bgcolor=#FFFFFF cellspacing=0 cellpadding=0><tr><td width=100% colspan=3><table border=1 width=100% cellspacing=0 cellpadding=0 bgcolor=#1066FF><tr><td width=48%><p align=center>[color=#FFF9ED][size=20][b]NolF[/b][/size][/color]</td><td width=4%><table border=3 width=100% bgcolor=#E7F9FB><tr><td width=100%><img border=0 src=http://www.elrincondelmanga.com/dracco_ftp/fotos_internet/estrellas/mascotas/sonido.jpg width=35 height=35></td></tr></table></td><td width=48%><p align=center></td></tr></table></td></tr><tr><td width=33% align=center valign=middle><img border=0 src=http://img474.imageshack.us/img474/7596/images2yx.jpg width=30 height=27></td><td width=33% align=center>Subiendo</td><td width=34% align=center><img border=0 src=http://img474.imageshack.us/img474/3707/21ln.jpg width=30 height=27></td></tr><tr><td width=33%><table width=90% align=center><tr><td><font color=#9f1f1f>         
  - (S) Death note (emitiendo) + peli           
  - (S) Evangelion Subtitulado (AnS) + Peliculas           
  - (S) Full Metal Panic: The second Raid           
  - (S) GTO Live (12/[1]/12) + pelis           
  - (S) Hajime no Ippo           
  - (S) Hikaru no Go (a medias xD)           
  - (S) Kimi ga nozomu eien           
  - (S) Sadamitsu el destructor           
  - (S) Speed Grapher           
  - (S) The law of ueki AnP           
  - (S) Ulises 31           
  - (O) Video Girl Ai<P>         
</td></tr></table></font></td>         
<td width=33%><table width=90% align=center><tr><td><font color=#108000>         
  - (S) Getbackers (49) [postear/plantilla]           
  - (S) Hikaru no go [postear/plantilla] <P>         
</td></tr></table></font></td>         
<td width=33%><table width=90% align=center><tr><td><font color=#1000ff>         
  - (S) Grenadier (13)           
  - (S) Lamune ~Glass Bin ni Utsuru Umi (13)           
  - (O) Ogre Slayer (4) (reconsiderando)           
  - (S) OutlawStar (26) [Dual] <P>         
</td></tr></table></font></td>         
</tr></table>       

After editing
HTML Code:

[CENTER][COLOR=#fff9ed][SIZE=20][B]NolF[/B][/SIZE][/COLOR][/CENTER]
[IMG]http://www.elrincondelmanga.com/dracco_ftp/fotos_internet/estrellas/mascotas/sonido.jpg[/IMG][CENTER][/CENTER]
[IMG]http://img474.imageshack.us/img474/7596/images2yx.jpg[/IMG]Subiendo[IMG]http://img474.imageshack.us/img474/3707/21ln.jpg[/IMG][COLOR=#9f1f1f]     
  - (S) Death note (emitiendo) + peli       
  - (S) Evangelion Subtitulado (AnS) + Peliculas       
  - (S) Full Metal Panic: The second Raid       
  - (S) GTO Live (12/[1]/12) + pelis       
  - (S) Hajime no Ippo       
  - (S) Hikaru no Go (a medias xD)       
  - (S) Kimi ga nozomu eien       
  - (S) Sadamitsu el destructor       
  - (S) Speed Grapher       
  - (S) The law of ueki AnP       
  - (S) Ulises 31       
  - (O) Video Girl Ai[/COLOR][COLOR=#9f1f1f]     
[/COLOR]
      [COLOR=#108000]     
  - (S) Getbackers (49) [postear/plantilla]       
  - (S) Hikaru no go [postear/plantilla] [/COLOR][COLOR=#108000]     
[/COLOR]
      [COLOR=#1000ff]     
  - (S) Grenadier (13)       
  - (S) Lamune ~Glass Bin ni Utsuru Umi (13)       
  - (O) Ogre Slayer (4) (reconsiderando)       
  - (S) OutlawStar (26) [Dual] [/COLOR][COLOR=#1000ff]     
[/COLOR]


I hope the problem is explained propely, I desperetly need a fix... I don't want it to go to deaf ears, it is just too good to leave this small detail left out

Thanks to kall for the hack and Kirby for the hints

mihai11 12-03-2006 06:53 PM

Quote:

Originally Posted by NolF (Post 1130877)
Tested on 3.6.4 and it works :D

I hope the problem is explained propely, I desperetly need a fix... I don't want it to go to deaf ears, it is just too good to leave this small detail left out

Thanks to kall for the hack and Kirby for the hints

Only use the basic editor if you want to keep the original HTML.

NolF 12-04-2006 03:08 AM

Quote:

Originally Posted by mihai11 (Post 1131050)
Only use the basic editor if you want to keep the original HTML.

Just tried that, same error happens. Initially the table shows up (fancy looking), but when I press the 'switch editor mode' then All tables are gone. If the button es pressed again, the fancy looking table, has just lots all the structure and is not fancy anymore...
Thanks for trying anyways, it's greatly appreciated.

Any other ideas?

mihai11 12-04-2006 05:32 AM

Quote:

Originally Posted by NolF (Post 1131369)
Just tried that, same error happens. Initially the table shows up (fancy looking), but when I press the 'switch editor mode' then All tables are gone. If the button es pressed again, the fancy looking table, has just lots all the structure and is not fancy anymore...
Thanks for trying anyways, it's greatly appreciated.

Any other ideas?

You must go to your "User Control Panel" and select the basic editor as the default editor. Whenever you use the "switch editor mode" option you loose the formatting, so you must make the basic editor the default in order to avoid using that option.

Hope this helps.

NolF 12-04-2006 05:11 PM

I can't find the option you are mentioning :( Ended up empty handed after looking thoroughly on both UCP and ACP.

Besides, its a bit extrange that in order to be able to edit tables I can only use simple view. If by default when I press edit, it inmediatly shows me de code (including tables) then It's what I'm looking for, else don't know what to do.

Just one aclaration, is it vbulletins fault or is it due to this hack that the tables get lost after pressing "switch editor mode"? (I doubt is due to this hack but still it is a valid question, I think.)

Thanks for helping mihai11 :)

mihai11 12-04-2006 08:36 PM

Quote:

Originally Posted by NolF (Post 1131740)
I can't find the option you are mentioning :( Ended up empty handed after looking thoroughly on both UCP and ACP.

Go to "User Control Panel -> Edit Option -> Message Editor Interface". You can choose Basic & Standard: both options are OK.

I attached a print screen with the option.

Quote:

Originally Posted by NolF (Post 1131740)
Besides, its a bit extrange that in order to be able to edit tables I can only use simple view. If by default when I press edit, it inmediatly shows me de code (including tables) then It's what I'm looking for, else don't know what to do.

This is how things get done in VB. The built-in WYSIWYG editor doesn't support HTML properly.

Quote:

Originally Posted by NolF (Post 1131740)
Just one aclaration, is it vbulletins fault or is it due to this hack that the tables get lost after pressing "switch editor mode"? (I doubt is due to this hack but still it is a valid question, I think.)

Thanks for helping mihai11 :)

It's the default VB behavior. It has nothing to do with this hack. It's easy to convince yourself - just try this on a clean VB installation :)

NolF 12-05-2006 02:23 AM

Thx mihai your solution worked perfectly ;)

TheWebCo 12-08-2006 12:50 PM

Hi Guys

I downloaded and installed this and have changed the permissions for the Administrator only so that I could create an HTML table in a post reply.

Sadly, I just seem to get in the preview:-

HTML code:

and then all the HTML code, it doesn't seem to be parsed.

I thought that may be peculiar to the preview so I tried submitting it as a reply but I get the same result.

Any ideas, as it seems to be foxing me at the moment!

Cheers

Nick

TheWebCo 12-08-2006 03:55 PM

I found the answer - I didn't realise that not only did I need to set the permission for the usergroup, but also the forum permissions to allow HTML
within it.

One other thing I didn't realsie was that the HTML could be cut and pasted straight into thw WYSIWYG editor and doesn't have to be inserted as raw HTML code.

mihai11 12-08-2006 04:37 PM

Quote:

Originally Posted by TheWebCo (Post 1134618)
One other thing I didn't realsie was that the HTML could be cut and pasted straight into thw WYSIWYG editor and doesn't have to be inserted as raw HTML code.


Some things will break if you do that. For example all "targets" for the anchor tag
HTML Code:

<a>
will be lost. The WYSIWYG editor saves the post as BB code. In BB code it is not possible to specify the target of a link.

NolF 12-30-2006 05:23 AM

Just a warning if you isntall this in 3.6.4 After puting ,my board live, usergroups who didnt have html allow would stop the post for being parsed just by opening it... so it doesnt work on 3.6.4

Xil Ze 01-01-2007 06:53 AM

Quote:

Originally Posted by NolF (Post 1147365)
Just a warning if you isntall this in 3.6.4 After puting ,my board live, usergroups who didnt have html allow would stop the post for being parsed just by opening it... so it doesnt work on 3.6.4

what do you mean exactly?

ThomasR 01-03-2007 05:39 PM

Yes, I'm using this plugin, but still under 3.6.1 (patched) and I need this plugin before moving to 3.6.4

evilfairygirl 01-05-2007 06:15 PM

i am on 3.6.0 and it's not working for me either

ttlgDaveh 01-06-2007 11:42 AM

It's working for me in 3.6.4, but I had to edit the product and tell it that it was compatible with 3.5 and greater.

NuclioN 01-06-2007 03:41 PM

Can someone share this who has it working for 3.6.4 please :)

ComputerVitals 01-09-2007 12:31 AM

I just installed it on 3.6.4.
Seems to be working fine.
But I'm only using is as intended. like the RSS feeds comming in the require HTML to look right.

ComputerVitals 01-14-2007 02:30 AM

I did find one issue.

I tried to post HTML in a code tag for someone.
The HTML was formatted.
Anyway of making this so the HTML doesn't work in the Code tags?

kall 01-14-2007 03:37 AM

Quote:

Originally Posted by ComputerVitals (Post 1158540)
I did find one issue.

I tried to post HTML in a code tag for someone.
The HTML was formatted.
Anyway of making this so the HTML doesn't work in the Code tags?

I think we discovered this was due to vB.. it parses stuff in tags when html is enabled for a forum.

At a guess, it could possibly be excluded from those tags, but I am somewhat buried in a pile of horrible stuff at the moment, so can't commit to looking into it for some time. :(

Anyone who does have the time, feel free to collaborate.

zetetic 01-21-2007 01:19 PM

I installed this on 3.6.4 and it seems to work fine for me, with one exception: one user is having issues with a bit of javascript he previously had in his signature. The thing is, that could be as much an issue with my upgrade from 3.0.6 to 3.6.4 as anything to do with this mod.

NolF 01-22-2007 06:36 AM

Quote:

Originally Posted by Xil Ze (Post 1148405)
what do you mean exactly?

Not sure how or why it happened.

I have a secction full of posts done with HTML, well pressented etc...
I gave my Mods (About 4 usergroups) HTML permisions.
During the 2 days I was setting up the forum (changed from PNphpBB to vbulletin) everything seemed fine with this hack.
Then I gave access to some other trusted users to test things out.
WHen a unlogged user would visit a HTML post, that user would not see the posts with html structure instead would see all the <table><tr> tags...
But that would be only for that user,that post would be screwed permanently. So unless a user with HTML permisions edited de post, it would have the tags... Users in usergroups with HTML permisions would not screwup posts, they only could fix them till another person visits that posts and screwes it again, and again...

so finally had to uninstall the hack activate HTML in the desired forums and re-edit all the screwed up posts

malenfant 01-27-2007 05:44 PM

Hallo,
does this hack work for vb 3.6.4?

da420 01-27-2007 11:51 PM

Quote:

Originally Posted by malenfant (Post 1168462)
Hallo,
does this hack work for vb 3.6.4?

Yes.

crishel 01-29-2007 10:28 AM

Ok, if anyone has figured this next question of mine out, then please share.

I installed all the code correctly. I edited the usergroups, and allowed only the "Admins" to have their HTML parsed (by setting it from the Usergroup Manager).

I then made a dedicated Video section: http://www.christianlinks.com/forumdisplay.php?f=74

I then made a post as an Admin and placed this code in there which resulted in an embedded Windows Media Player that should link to a video:

Quote:


<p align="center">
<OBJECT ID="MediaPlayer" WIDTH="640" HEIGHT="360" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="/video/storage/WatchAndPray.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="true">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="/video/storage/WatchAndPray.wmv" NAME="MediaPlayer"
WIDTH="640" HEIGHT="360" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
</p>

That thread with the now created embedded windows media player is located here: http://www.christianlinks.com/showthread.php?t=1243

It will not play at all, when you press the play button. The videos are there, and are located off of the root: /public_html/video/storage

I updated my counters, and rebuilt my post cache. Nothing at all. Does anyone know why this is, or has anyone here figured it out. I would not be surprised if others are using the windows media player embedded with this script.

Any help would be greatly appreciated.

crishel 01-29-2007 01:19 PM

Anyone?

TheMilkCarton 02-07-2007 03:41 AM

I've noticed that clicking "Edit" from the vBadvanced News Module somehow bypasses the problems everyone is having with this hack and the HTML disappearing when trying to Edit with WYSIWYG in vB 3.6. If I go to the actual News forum however and click "Edit" the HTML still disappears

So, for all the people making excuses and saying that it is vBulletin's fault are wrong, wrong, wrong. If it were vBulletin's fault it would happen every single time you try to edit the post, but I've somehow found a way of "bypassing" it.

So devs/coders, please, please, PLEASE figure out how it works just fine when clicking "Edit" from the News module, but not the thread. If you figure it out then you might get it to actually work with 3.6.4.

I realize I can disable WYSIWYG, but I'm not going to sacrifice that. :mad:

Edit: Oh, and ironically, AnyMedia doesn't work in the News Module, but this HTML hack does, so I have to use two different mods to post videos in threads.

Caiman 02-16-2007 04:58 PM

Very useful, thanks Kall.

bullboykennels 02-28-2007 04:51 AM

Well I decided to give this a try since I to post html for swf files among other things since I have a music community but do not allow other's to post html.

I've found it does work on vb 3.6.4 and with my test account I am still able to use the [ html]www.url.com[ /html] for members with out allowing them the access to being able to post html within the posts.

Great mod if I do happen to find any issues with it then I will post that as well but for now,. it seems to be working as stated.

bada_bing 03-02-2007 06:05 PM

Does not parse HTML on vbportal , uninstalled

zetetic 03-06-2007 10:40 AM

I don't think this is working for me on 3.6.4. People who are in the HTML group can post HTML content, but not everyone can see it - only other people in the HTML group.

creativepart 03-06-2007 12:13 PM

It works for me on both 3.6.4 and 3.6.5.

da420 03-06-2007 04:54 PM

Quote:

Originally Posted by creativepart (Post 1197065)
It works for me on both 3.6.4 and 3.6.5.

Yep, same here :)

Gemilang 03-13-2007 09:58 AM

This mod died on me after I upgraded to version 3.6.5. I got it to work again affter several attempts. What works for me is to uninstall the mods, reinstall it, and the posts with unparsed codes edited manually, i.e. hit Edit and Save Changes.


All times are GMT. The time now is 08:10 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.02662 seconds
  • Memory Usage 1,865KB
  • 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
  • (6)bbcode_html_printable
  • (19)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