Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
CES [Anything] BB-Code Details »»
CES [Anything] BB-Code
Version: 1.1.1, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 03-21-2007 Last Update: 03-24-2007 Installs: 13
Uses Plugins
 
No support by the author.

CES [Anything] BB-Code
Version: 1.1.1

Requires: Advanced BB-Code Permissions (3.0 or higher) - by Abe1

- If you are using Advanced BB-Code Permissions 2.1, you NEED to upgrade to 3.0! Version 2.1 does not create the permissions correctly in 3.6.x.

*** NEWS ***
3/23/2007 - v1.1.0, v1.1.1 released
3/22/2007 - v1.0.0 released

Known Issues:
- none

What It Does:
This can theoretically be an all-purpose BB-Code. This allows you to parse portions of posts as vBulletin templates. For example, you could use <if> conditionals, variables (e.g. $bbuserinfo, $vboptions, $vbphrase), HTML (!).

WARNING:
Because of the potential power of this BB-Code, the Advanced BB-Code Permissions hack is REQUIRED before you install this. Forum members you trust (i.e. Admins and anyone else who can_admin_templates() ) should be the only ones you give permission to use this BB-Code. Make sure you set ALL Usergroups to use Advanced Permissions before installing this.

Mod Features:
- fully automated custom BB-Code install
- uses its own BB-Code handler function
- use <if> conditionals, variables, etc in posted content

Products to Install: 1
Plugins Included: 1
Files to Upload: 0
Files to Edit: 0
New Templates: 0
Template Edits: 0

Live demo: http://www.crackedeggstudios.com/main.php

Examples:
Code:
[anything]Your username is $bbuserinfo[username].[/anything]
Code:
[anything]You are <if condition="!is_member_of($bbuserinfo, 6)">not </if>an admin.[/anything]
The following does NOT cause an infinite loop:
Code:
[anything]$post[message][/anything]
*** Changelog ***
As of Version 1.1.1:
- updated product dependencies to require newer version

As of Version 1.1.0:
- removed 2 files
- changed hook location
- makes better use of vBulletin stock parser

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-22-2007, 07:40 PM
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Location: KUWAIT
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #3  
Old 03-22-2007, 08:18 PM
bacanze bacanze is offline
 
Join Date: Mar 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers for this, going to install now
Reply With Quote
  #4  
Old 03-23-2007, 04:15 AM
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you give more code based examples?
Reply With Quote
  #5  
Old 03-23-2007, 07:17 AM
bela-meaad bela-meaad is offline
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks nice

thanks
Reply With Quote
  #6  
Old 03-24-2007, 01:48 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated the code structure to be more efficient by changing hook location. Check it out.
Reply With Quote
  #7  
Old 03-25-2007, 05:47 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks....
Reply With Quote
  #8  
Old 05-19-2007, 06:02 AM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed on 3.6.5 and solved so many issues I was having with other hacks. Now that I have a variable to use, I can accomplish what I'm trying to do.

Thanks!
Reply With Quote
  #9  
Old 05-20-2007, 08:35 AM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carmichael1973 View Post
Just installed on 3.6.5 and solved so many issues I was having with other hacks. Now that I have a variable to use, I can accomplish what I'm trying to do.

Thanks!
Well I guess I spoke too soon. I'm having some parsing issues on pages that contain multiple entries. It will parse the first two fine, but after that it goes south and only parses the first and last.
Let me explain:

If there is only two entries on a page it parses them fine. But when you add more (let's say there are five) it ends up like this:

Newest(5th): Parsed
4th : Not Parsed (just text version of code)
3rd : Not Parsed (just text version of code)
2nd : Not Parsed (just text version of code)
1st : Parsed

Anyone else experienced anything like this?
Reply With Quote
  #10  
Old 05-21-2007, 01:15 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strangely enough I am not experiencing this. I will compare the version available here with my current version and get back to you.

We seem to be using the same version of this mod. I'm currently running vBulletin 3.6.7, and there have been some updates to class_bbcode.php since 3.6.5. Maybe there was a bug earlier. Also make sure you are running the latest build of Advanced BB-Code Permissions... this mod says it only requires 3.0, but I am running 4.0 beta, which you can find somewhere in that thread.

If you still experience issues, please clarify your problem. Are all uses of [anything] in the same post? Are they across multiple posts? Are all these posts by the same user / usergroup?

Thanks.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10773 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete