vBulletin Modifications

I need hack (or help) for bbcode TABLE

Welcome to vBHackers.com! - vBHackers Updates:

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

Reply
 
LinkBack Thread Tools
Old 04-05-2006, 10:51 AM   #1
Coder
marcoas's Avatar
Join Date: Feb 2005
Location: Lujan.BA.Argentina
marcoas is on a distinguished road

Default I need hack (or help) for bbcode TABLE

I need a hack for make tables with bbcode in vb3.5.x

I used this hack in vb307

Now in vb3.5.4, I need a similar hack.

Exists?

if I want create it....What hooks, you thinks, what I would do it?


thanks




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-05-2006, 03:13 PM   #2
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

I'm pretty sure the hack doesn't exist for vB 3.5.

Seeing as the functions_bbcodeparse.php file no longer exists and most of the BBcode parsing has been changed, I don't think its a mather of finding hooks for this hack in order to port it ;).




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 10:19 AM   #3
Coder
marcoas's Avatar
Join Date: Feb 2005
Location: Lujan.BA.Argentina
marcoas is on a distinguished road

Exclamation

deleted by MarcoAS....See below

Last edited by marcoas; 04-06-2006 at 08:01 PM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 10:29 AM   #4
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

I think the hook you've installed it in works quite well, no?

Anyway, thanks for sharing that beta code. I'll have a look at it when I find some time, see if I can add some features to it ;).




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 08:10 PM   #5
Coder
marcoas's Avatar
Join Date: Feb 2005
Location: Lujan.BA.Argentina
marcoas is on a distinguished road

Default

I have my "bbcode table" vbHack (Very Beta Hack) a little advanced.

This is still in beta version.

Add a plugin, in hook "newpost_preview". There put this piece of code:
You must first be a registered member to view any code.
Now, when You post a message, if you see the preview, will see a table with data in there.

How to use:
[table]cell 1 of row 1 | cell 2 of row 1 | cell 3 of row 1 | cell 4 of row 1
cell 1 of row 2 | cell 2 of row 2 | cell 3 of row 2 | cell 4 of row 3
cell 1 of row 3 | cell 2 of row 3 | cell 3 of row 3 | cell 4 of row 3[/table]

Every pipe (| -ascii 124-) is a cell delimiter.
Every End Of Line is a row delimiter.

Shortly more advantages for this bbcode.

Note: I work in vb 3.5.4
__________________
From Lujan.BA.Argentina

Last edited by marcoas; 04-06-2006 at 09:36 PM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 08:20 PM   #6
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Ah, very nicely done. So entering this bbcode:

[table]vbhackers.com | vbulletin.com | vbulletin.org
Rules vB | Sells vB | Mods vB[/table]

Would be translated into:
You must first be a registered member to view any code.
Am I right?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 08:25 PM   #7
Coder
marcoas's Avatar
Join Date: Feb 2005
Location: Lujan.BA.Argentina
marcoas is on a distinguished road

Default

exactly ! ! ! !


This is still in beta....is only for preview.
The table is NOT saved in the database with the post.

I will do it ....




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 08:30 PM   #8
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Well, the table doesn't need to be saved... it's best to save the BB code itself, as vB will filter the HTML code out if its stored as HTML.

I'd suggest taking a look at one of the vB 3.5.x custom BB code hacks (where there's a plugin/code change required.. not the simple copy/paste into BB code manager ones^^) and look where it inserts the code for adding a custom BB code tag ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 09:31 PM   #9
Coder
marcoas's Avatar
Join Date: Feb 2005
Location: Lujan.BA.Argentina
marcoas is on a distinguished road

Default

Continue....

Now add a plugin for the hook "postbit_display_complete" with this code:

You must first be a registered member to view any code.
With this plugin, now every post with [table] bbcode, is shown correctly.

Please, if somebody can test it and comment it....

Note:
To do list:
- Text align in every cell
- ¿another?

Last edited by marcoas; 04-06-2006 at 11:16 PM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 10:03 PM   #10
Coder
marcoas's Avatar
Join Date: Feb 2005
Location: Lujan.BA.Argentina
marcoas is on a distinguished road

Default For beta testers

Here is the download product

Last edited by marcoas; 04-06-2006 at 10:21 PM..




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
Hack Installs / Working - Suggestion VirtualBurn Site Feedback 11 08-16-2006 05:01 PM
Install System Part 2 Ken Iovino Announcements 10 05-19-2005 11:40 AM


All times are GMT -3. The time now is 08:52 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)