vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - CES Parser Permissions (https://vborg.vbsupport.ru/showthread.php?t=138476)

thincom2000 03-20-2008 06:47 PM

If that didn't fix the problem, that would imply that the function really doesn't exist...

Oops! Typo.

Edit the showthread_complete plugin. The call should be to
PHP Code:

ces_permissions_toolbar2 

Note that "toolbar" should be singular.

mwilke 03-22-2008 05:37 AM

The typo correction works. Thanks!

However now I am getting trouble when I am pasting my code into the profile field. All it is is a simple table created at http://www.1stsfss.com/pages/inputAward.html When you choose your awards and it creates the working table. However when I paste it into the profile field there are a lot of page breaks and pushes the start of the table waaaay down. And then the table is stretched vertically. I have other fresh eyes looking at the table code to see if i missed something. I didn't know if there was a style that i was unaware of or if the CES Parser had anything to do with it..

Appreciate the help..

thincom2000 03-22-2008 06:11 AM

I have tried that table creator you posted, and not only does it generate non-standards-complaint XHTML, but you'll notice between lines 22 - 31 (I put a comment there so you can see it) that a problem exists. I modified the code only by adding tabs (and the comment) to investigate the tag nesting (the issue you describe is usually caused by improper nesting).

HTML Code:

<table width="466" cellpadding="0" cellspacing="0" border="0">
<tr>
        <td colspan="3">
                <img src="images/case/top.jpg" width="466" height="35" />
        </td>
</tr>
<tr>
        <td width="38">
                <img src="images/case/left.jpg" width="38" height="317" />
        </td>
        <td width="390" height="317" background="images/case/center.jpg" align="center">
                <table width="390" height="317" border="0">
                <tr>
                        <td width="45" ></td>
                        <td  align="center"></td>
                        <td width="50" ></td>
                </tr>
                <tr>
                        <td align="center"></td>
                        <td  align="center">
                                <table>
                                <!-- nesting problems start here -->
                                <tr>
                                        <td height="14" width="53">
                                                <td height="14" width="53">
                                                        <td background="images/ribbons/commander1st.gif" align="center" height="14" width="53">
                                                        </td>
                                                        <td background="images/ribbons/commander2nd.gif" align="center" height="14" width="53">
                                                        </td>
                                </tr>
                                <!-- / nesting problems end here -->
                                <tr>
                                        <td background="images/ribbons/soldiers.gif"align="center"  height="14" width="53">
                                        </td>
                                        <td background="images/ribbons/silverStar.gif" height="14" align="center" width="53">
                                        </td>
                                        <td background="images/ribbons/goodConduct.gif" height="14" align="center" width="53">
                                        </td>
                                        <td background="images/ribbons/tra.gif" height="14" width="53" >
                                        </td>
                                </tr>
                                <tr>
                                </tr>
                                </table>
                        </td>
                        <td> </td>
                </tr>
                <tr>
                        <td width="45" ></td>
                        <td align="center">
                                <img src="images/badges/sharpshooter.jpg">
                        </td>
                        <td width="50" ></td>
                </tr>
                </table>
        </td>
        <td width="38">
                <img src="images/case/right.jpg" width="38" height="317" />
        </td>
</tr>
<tr>
        <td colspan="3">
                <img src="images/case/bottom.jpg" width="466" height="38" />
        </td>
</tr>
</table>

As you can see, this is an issue with the tool you mentioned and not with this mod.

mwilke 03-22-2008 02:21 PM

Thank you very much, I corrected that it still didn't work. So what i ended up doing is deleting all spaces and formatting tabs that was apart of the code when I pasted it into the edit profile field textbox. Apparently it takes all of that literal and doesn't ignore the whitespace so it was stretching out the box and moving it down because spaces and tabs were in the tables..

thincom2000 03-22-2008 03:01 PM

Yes, the same thing would happen if you used the table in a post. This is how vBulletin's BB-Code parser works by default, by converting newlines into HTML line breaks.

thincom2000 03-22-2008 06:26 PM

Update: Compatibility with vBulletin 3.7 Beta 6 and RC1 has been fixed. The Social Messages stock vBulletin feature in which an error message is displayed when using a disabled BB-Code is also working again. Fixed some fatal errors due to typos, and gave Social Messages their own bitfields (inclusive for VMs, GMs, PCs, and usernotes - which I always considered to be vB's old profile comment system).

marcossalazar 03-22-2008 06:39 PM

Quote:

Originally Posted by thincom2000 (Post 1455417)
The <br /> fix has not officially been released yet. I am still working on fixing the blog and external issues.

Has this issue been fixed in the update? This problems makes the mod unusable for profile fields if a user wants users return to create a space between lines of text.

Thanks.

thincom2000 03-22-2008 07:07 PM

That issue was fixed about a month ago (3/6). I'm sorry you missed it.

marcossalazar 03-22-2008 07:15 PM

Quote:

Originally Posted by thincom2000 (Post 1471866)
That issue was fixed about a month ago (3/6). I'm sorry you missed it.

Ooops! Sorry about that. Awesome. This is such a great mod. Thank you so much for creating it as well as updating it so frequently!

Gio~Logist 04-25-2008 02:19 PM

Hm, after this mod... bbcode in events do not work


All times are GMT. The time now is 11:02 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.01323 seconds
  • Memory Usage 1,768KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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