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)

Caerydd 02-25-2008 06:33 AM

I can confirm that, but I'll double check on my test board.

(just to clarify

Admin - post html on, forum post html on - HTML is Allowed Message
Other Test Group post html off, forum post html on - HTML is Allowed Message

As I say, I shall test this again in around 12 hours time, so semi-confirmed.)

thincom2000 02-25-2008 01:07 PM

Quote:

Originally Posted by Caerydd (Post 1450526)
I can confirm that, but I'll double check on my test board.

Please try the most recent update. I made some changes to the forum rules code since your first report.

Caerydd 02-25-2008 03:30 PM

Okay, after double checking, I have the hack, similar to vb.org, of posting rules under editor. The default posting rules updates, but this doesn't.

So, something that is not your problem ^^ I think I might disable posting rules under editor anyways.

thincom2000 02-25-2008 03:51 PM

What hack are you using? I was thinking of making a Posting Rules hack for VMs, Project Tools, PMs, etc.

Caerydd 02-25-2008 04:05 PM

I was using this one, but I've decided to disable it for now for aesthetic reasons and put my smilies below the editor instead (by same coder)

Thug 02-25-2008 09:39 PM

Works awsome but i want add About me seperate then everything else. some what like hypeto.com how they have about me in a seperate table i tried coding something like that so this is my code:

<div class="tborder" id="link_bar">
<ul class="thead list_no_decoration floatcontainer">
About Me
</ul>
</div>
<div class="tborder" id="activity_info">
<div class="alt2 smallfont">
$userinfo[field15]
</div>
</div>

That worked but html isn't working. I tried putting an image in html and it showed exactly what i put in the box.

But if i don't put it separate it works. So somthing liek the hypto.com about me Box. with html ENABLED is all i need.

Thanks, sorry for my english

thincom2000 02-25-2008 09:53 PM

1. Make a template called 'custom_about_me' that contains the code you posted above except replace $userinfo[field15] with $profilefield[value]

2. Create a plugin at member_customfields with execute order 10.

PHP Code:

if ($profilefield['profilefieldid'] == 15)
{
global 
$about_me;

eval(
'$about_me = "' fetch_template('custom_about_me') . '";');


3. Where you were going to put the code in the MEMBERINFO template, instead put $about_me.

This may require some tweaking on your behalf to get working, but I have faith :rolleyes:

nerofix 02-26-2008 09:14 AM

Thincom your new version is great and works like a charm! :)

I only found 1 thing: the IMG tag in visitor messages still doesnt work after posting and appears as link.

thincom2000 02-26-2008 03:19 PM

Quote:

Originally Posted by nerofix (Post 1451285)
I only found 1 thing: the IMG tag in visitor messages still doesnt work after posting and appears as link.

In includes/ces_permissions.php, find:
PHP Code:

// profile & picture comments were handled by vBulletin 

Add below:
PHP Code:

$dobbimagecode $vbulletin->options['allowbbimagecode']; 


nerofix 02-26-2008 05:07 PM

You're the best thincom! :)

Me and my forum members will love you for this :)

Thanks thanks thanks !! :)

http://cs1121.vkontakte.ru/u2211389/...x_f657d575.jpg


All times are GMT. The time now is 04:01 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.01340 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)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