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)

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?

Quote:

Originally Posted by Luggruff
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/showthre...061#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

Quote:

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

Quote:

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

Quote:

Originally Posted by lsgworldl
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?
Quote:

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

Quote:

Originally Posted by EasyTarget
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/showt...hp?p=30#post30

http://pspgameforums.com/forum/showt...hp?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

Quote:

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

PHP Code:

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

Quote:

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

Quote:

Originally Posted by lsgworldl
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 (
Quote:

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:
Quote:

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

Quote:

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

PHP Code:

<a href="http://www.kqzyfj.com/click-1848433-10294381?url=http%3A%2F%2Fwww.argos.co.uk%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FArgosCreateReferral%3FstoreId%3D10001%26langId%3D-1%26referrer%3DCOJUN%26params%3Dadref%253DVideo+games-%3EPSP-%3EPSP+games%26referredURL%3Dhttp%3A%2F%2Fwww.argos.co.uk%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FProductDisplay%253FstoreId%253D10001%2526catalogId%253D3801%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/showt...hp?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.
Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

Originally Posted by theodonnells
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...61&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

Quote:

Originally Posted by mili
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...61&postcount=1

mili

If I do that, I get the following: http://www.nzboards.com/forums/testi...html#post42145

steven s 12-05-2005 10:49 AM

Quote:

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

Quote:

Originally Posted by mili
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...61&postcount=1

mili

Here is your code with whitespace removed.
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>
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

Quote:

Originally Posted by mili
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
HTML Code:

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

<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


All times are GMT. The time now is 06:08 PM.

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.01698 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (21)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