vBulletin Modifications

bbcode php,html and code only for registered users

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 10-05-2006, 02:46 PM   #1
Coder
Join Date: Sep 2006
Namaless is on a distinguished road

Default bbcode php,html and code only for registered users
Version: 3.6.x
Hack Category: Mini Mods

Thanks for vbhackers.com for this opt

I need a modification for bbcode_code. I view here this hack and is possible to release it? Thanks for free support ^_^




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 10-13-2006, 06:25 AM   #2
Coder
Join Date: Sep 2006
Namaless is on a distinguished road

Default

mmm i view in this board..
Have link to vb.org for downloading this mod??

This code i don't wont works

bbcode_code template
You must first be a registered member to view any code.
I don't find in this site...

Thanks for all ^_^

Last edited by Namaless; 10-13-2006 at 06:31 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-14-2006, 11:18 PM   #3
Coder
SirAdrian's Avatar
Join Date: Jun 2006
SirAdrian is on a distinguished road

Default

I have it working for PHP on my board...

The problem is that posts are cached, meaning if you post it in style#1 as an administrator, it will be parsed and stored in the database (exactly what you saw for a given style). That condition no longer exists when you view it a second time. Kind of defeats the purpose of the templates, but oh well.

In the PHP bbcode template, there are comments you can use as reference points to alter the contents... Here is what I'm using:

You must first be a registered member to view any code.
It can probably be altered to run in the postbit factory, but I don't have time to mess around and get it as fast as possible. You'll have to alter the forumids, usergroupids, and also the replace text because that CSS class won't exist for you.

Using some common sense and copy pasting, you should be able to get it working for all of the templates (though you'll have to edit them).

- If anyone knows a better method let me know, because this isn't exactly an elegant work around.
__________________


vBlogetin: an advanced blogging tool for vBulletin
>> Beta 3 released with SE-Friendly URLs!

Last edited by SirAdrian; 10-14-2006 at 11:21 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 04:30 AM   #4
Coder
Join Date: Sep 2006
Namaless is on a distinguished road

Default

Yes, i create a plug-in for this...

Posted here: http://www.vbhackers.com/f76/mini-mo...register-5803/

This is for code vbcode.. ;)

Last edited by Namaless; 10-27-2006 at 04:41 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2006, 06:28 AM   #5
Coder
SirAdrian's Avatar
Join Date: Jun 2006
SirAdrian is on a distinguished road

Default

Sweet, thanks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-28-2006, 09:36 PM   #6
Coder
SirAdrian's Avatar
Join Date: Jun 2006
SirAdrian is on a distinguished road

Default

Okay after some testing, it seems the whole caching problem still stands with the bbcode parser method.

View it (or create post) with a registered user, then you should see the code boxes. View it then with a guest, and it will read from the postcache with the code boxes intact.

If you clear that postcache (postparsed table), then view it with a guest, it will work properly, but then viewing it again with a registered user and he'll see whatever the guest saw since that data is now in the cache.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-31-2006, 06:17 PM   #7
Coder
SirAdrian's Avatar
Join Date: Jun 2006
SirAdrian is on a distinguished road

Default

When I get some spare time I'll release one for code/html/php. There may be a way to prevent it from caching certain posts so that would be ideal.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2007, 06:25 AM   #8
vB Newbie
Join Date: Jul 2007
asdf is on a distinguished road

Default

how do i get this code working :S do i post in bbcode or postbit




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Cp Critical Error Nick R Site Feedback 6 08-03-2006 09:39 AM
bbcode parse nfo files as png tokenyank vBulletin Modification Requests 8 03-15-2005 10:19 PM


All times are GMT -3. The time now is 08:44 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)