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)

bigfoot 03-20-2007 02:50 PM

The mod doesn't allow HTML when previewing :( I just see the code as plain text

Anyone able to help ?

wjstar 03-23-2007 08:21 AM

i want to kiss you 2

Semjaza 03-26-2007 02:14 AM

I installed this on the latest vB and it works fine, no issues.

I am not sure how to fix one thing that's driving me nuts, though. When I have the RSS Manager post, my posts have massive breaks between each paragraph. I found by looking in the HTML that, for whatever reason, two line breaks are being inserted. This is in addition to the paragraph tags that are already in the XML.

Is there some way to remove those breaks? They're not in my XML and it looks awful in the posts.

ArchangelX 04-09-2007 01:55 AM

It really sucks that the HTML disappears sometimes...does anyone know what's going on? What exactly is the bug? I hope someone can figure this out, as I'm no coder, but it's really affecting parts of my forum that use the HTML function.

Deimos 04-15-2007 03:09 PM

I get the same problem with the posts initially showing ok, but then reverting to showing all the html tags (unformatted)

ArchangelX 04-15-2007 06:12 PM

I guess this is no longer supported, then?

kall 04-15-2007 06:22 PM

Never has been, hence the 'Not Supported' sign at the top.

popowich 04-26-2007 02:43 AM

Would this allow me to put javascript in a post and it would run correctly?

-Raymond

2 FN LOW 05-06-2007 11:29 AM

anybody know if this is still working for the newest version of VB?

PoetJA-1975 05-06-2007 10:45 PM

Yes - verified working on vB 3.6.5 ;)

Jacquii.

kall 05-06-2007 10:49 PM

and 3.6.6. ;)

rabbits slayer 05-07-2007 12:42 AM

Anyway this mod would work with user profile fields?

moneyballs2 05-12-2007 03:03 PM

Would it be possible to stop the HTML suddenly deleating itself sometimes?

ArchangelX 05-12-2007 04:43 PM

Alot of people have been wondering this same issue...I don't think this is being supported anymore though. :(

da420 05-12-2007 06:22 PM

Quote:

Originally Posted by moneyballs2 (Post 1246270)
Would it be possible to stop the HTML suddenly deleating itself sometimes?

Haven't had that problem unless I edit my post, then it disapears.

Caiman 06-02-2007 10:44 AM

Has anyone encountered an issue with this where they save a pot, and the HTML is parsed fine in the output, but then you navigate to another page and come back, and it's not showing parsed just as code?

I recently moved server and this started happening, but even totally uninstalling/reinstalling the plugin doesnt seem to affect it. Ah well.

zetetic 06-23-2007 04:44 PM

This add-on wasn't working for me when I was at 3.6.4, but I reinstalled it after upgrading to 3.6.7 PL1 and it works now.

Despite what others have said it seems to work for signatures as well, but not on signatures in PM's. Not sure why that is.

FoReX 07-07-2007 01:01 PM

Can i use this on the version 3.6.7?

zetetic 07-07-2007 01:03 PM

No, only I can.

TheMilkCarton 07-10-2007 09:10 AM

Temporary Workaround for HTML Deleting Upon Quickedit

It's quite simple. Just middle click on the Edit button OR Right click >> Open in New Window the Edit button.

The HTML only disappears if you have Quick Edit enabled. So opening it in a New Tab/New Window sends you to the Full Edit page. :)

I'd still like a *real* workaround, however.

Arjuna 07-13-2007 04:34 PM

will this work on vb 3.6.7?

da420 07-13-2007 04:58 PM

Yes, it will work for 3.6.7...

TheMilkCarton 07-13-2007 05:31 PM

Well, keep in mind it never really "works" for 3.6.x. I would really like this to be updated to work with the AJAX Quick edit. Somebody has to know how to do it.

For my "workaround", look a few posts up.

ayoko555 07-19-2007 12:30 AM

I can't get this to work... im using 3.6.7
I allowed admins to have html enabled, however, when i post it....

ie, <a href="www.yahoo.com">yahoo</a>, it would just post the exact same thing on the post, not html at all.... does anyone know why?

Helps appreciated!

bada_bing 07-19-2007 11:45 AM

Does anyone know how get this working on vbportal ?

Carlos2 07-26-2007 08:09 AM

Working in 3.6.6. Thanks ;) Its great

But anybody knows how can work in private messages too?, for this usergroups you activated them.

Eagle Creek 08-09-2007 02:15 PM

3.6.8 compatible?

da420 08-11-2007 06:58 PM

Quote:

Originally Posted by Eagle Creek (Post 1313674)
3.6.8 compatible?

Try it out and see... it works for me...

ddmobley 08-16-2007 04:19 AM

I have written the author of this mod without success so I thought I would ask here. It appears that this mod works fine until the post ages out of the parsed post cache. When it ages out of the parsed post cache, if the next reader who reads it doesn't have HTML access for their usergroup, the post only shows up as HTML code unparsed. If a person with HTML access for their usergroup edits the message, it will then display once again in HTML until the post ages out of the parsed post cache again. Is anyone else having the problem? Is there a fix for this problem? Any help would be appreciated.

ArchangelX 08-16-2007 05:03 AM

Yepz...same here...although I didn't know the exact cause of it. Anyone got a fix? Thanks!

ddmobley 08-16-2007 03:09 PM

Quote:

Originally Posted by ArchangelX (Post 1318668)
Yepz...same here...although I didn't know the exact cause of it. Anyone got a fix? Thanks!

What's disappointing about this situation is everywhere on this site that someone has requested a mod like this, everyone has been referred here to this mod, AND the author of the mod is on this forum often, so that means he knows about the problem and is simply ignoring people since I sent him both an email and a PM about the subject. When I made my original post, I checked his profile and his last visit was that same day. Why simply ignore one of the most widely desired mods because you can't find a solution? If you can't fix the problem, perhaps an open discussion of it could lead to a solution with help from other modders. But I simply do not understand ignoring people. Unsupported is one thing, abandoned on purpose is another.

mik2007 08-27-2007 09:10 AM

Great mod but I'm having some probs and wondering if anyone knows how to fix it --

When I paste raw html adsense code in my post (basic editor) it turns out ok but then, when I save it, it adds <br /> to every line and thus breaks adsense.

No matter what I did it always inserts those <br /> tags! Any idea?

update: Looks like vb does it, not this mods fault.

ddmobley 08-27-2007 04:45 PM

This is a simple fix to solve your problem: Make your line of HTML text all one line. Then it will display correctly.

On the other hand, it would be NICE if the author of the mod would simply admit that he doesn't know how to fix the problem with the HTML vanishing out of the post cache.

ddmobley 08-28-2007 08:51 PM

There is another mod for 3.0.6 at https://vborg.vbsupport.ru/showthread.php?t=75590 that modifies some files. Does 3.0.6 have the same post cache that 3.5.4 does? If so, I was wondering if using the other mod would work for 3.5.4 and eliminate the post cache expiring. I can't believe the author of this mod here refuses to at least comment on the post cache error.

ddmobley 08-28-2007 10:34 PM

I have been working with today and have found out that the display of parsed HTML with this mod is dependant on the Cached Posts Lifespan setting in the admin section. If you turn post caching OFF by entering a 0 in the field, the mod will not work at all, only rendering HTML to the user posting it. The next person who tries to read the post who is not in the user group that allows HTML, they will simply see a raw dump of the HTML code.

ddmobley 08-28-2007 11:10 PM

In a search for an answer to the parsed posts disappearing, I have modified my system to preserve the parsed post cache for posts that are sticky. On my system, the only posts that would have HTML in them are sticky posts, so it was, to me, only a question of how to keep the software's maintenance from deleting posts from the parsed post cache that were stickly posts. Here's how I did it:

In includes/cron/cleanup2.php, there is a code segment that looks like:

Code:

// expired cached posts
$vbulletin->db->query_write("
        DELETE FROM " . TABLE_PREFIX . "post_parsed
        WHERE dateline < " . (TIMENOW - ($vbulletin->options['cachemaxage'] * 60 * 60 * 24))
);


I edited it to look like this:

Code:

// expired cached posts
$vbulletin->db->query_write("
        DELETE parsed FROM " . TABLE_PREFIX . "post_parsed AS parsed
        LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON thread.firstpostid = parsed.postid
        WHERE parsed.dateline < " . (TIMENOW - ($vbulletin->options['cachemaxage'] * 60 * 60 * 24)) . "
        AND thread.sticky = 0"
);


Edit: I found I was getting a SQL error in my previous modification, and found a new way of keeping the post_parsed_cache clean. This above works.

This simply checks the thread table for the existence of a sticky post ID that matches the post ID of a post in the parsed post cache. If there is a match, it doesn't delete that post's cache, it leaves it indefinitely, or until the post is manually deleted.

roymogg 08-31-2007 07:26 PM

Kall,

Will this hack work under 3.6.8 - this is a mod I would like to install for a restricted set of user groups (mainly Admin)

cheers

RoyMogg

kall 08-31-2007 07:40 PM

Hi Roymogg,

Yes indeed, it appears to work fine with 3.6.8.

noppid 08-31-2007 09:09 PM

Quote:

Originally Posted by ddmobley (Post 1327698)
I have been working with today and have found out that the display of parsed HTML with this mod is dependant on the Cached Posts Lifespan setting in the admin section. If you turn post caching OFF by entering a 0 in the field, the mod will not work at all, only rendering HTML to the user posting it. The next person who tries to read the post who is not in the user group that allows HTML, they will simply see a raw dump of the HTML code.

I ran into this too. So, I set out looking for a solution. I put code in the misc_bbcode_start hook and ran the rebuild post cache. No html worked still.

So, I hacked the file and ran it again. This time posts parsed properly.

Since it's only me in one forum doing html, this is easy to maintain.

Is it normal that admin functions skip hooks? Anyway, I'm good to go.

yoyoyoyo 09-15-2007 01:56 PM

Quote:

Originally Posted by kall (Post 1329697)
Hi Roymogg,

Yes indeed, it appears to work fine with 3.6.8.

but the cached posts displaying any html posts as raw html error still exists. Is there any way to fix this issue?


All times are GMT. The time now is 12:12 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.02085 seconds
  • Memory Usage 1,816KB
  • 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
  • (5)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