The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Basically, if you check over the HTML code, it is inserting the "row 1, cell 1" "row 1, cell 2" as data; what I am trying to accomplish here is that, using this statement:
[table (=head if needs title)] Data 1 | Data 2 [press enter to go to the next line or terminate this row] Data 1.1 | Data 2.1 [press enter again] Data 1.2 | Data 2.2[/ table] Gets to print this: With the data the user has entered, obviously; therefore, I don't see a need to use php whatsoever if this is some simple HTML code that should work, as, basically, the HTML code for the table above is: Code:
<table border="1"> <tr> <td>Data 1</td> <td>Data 2</td> </tr> <tr> <td>Data 1.1</td> <td>Data 2.1</td> </tr> <tr> <td>Data 1.2</td> <td>Data 2.2</td> </tr> </table> |
#12
|
|||
|
|||
I am not sure where our communication problem is. I do not understand how you can use your construct under vBulletins BBCODE system without some custom coding.
vBulletin default bbcode only accepts two parameters {param} and {option}. It is a simple two input system that is parsed. I have not spent two much time pouring over the vbulletins BBCODE system, I do not use it all that much: since it is limited for safety. So if I am incorrect, please correct me, and refer me to an example using the method you are talking about. In order to pass complex data I have always written back-end code and used the vB_bbcode_parser class. (may have spelled the class incorrectly). ---- Maybe what you are referring to is creating an HTML form. I see from this example you are using simple user prompts? |
#13
|
|||
|
|||
Well, I guess this was more complicated than I thought.
I got a question though, taking what you said "bbcode accepts two parameters" how does the "common" or bult-in table tags work? it needs, obviously, to be built like on HTML by using table, tr and td, but this isn't taking just 2 parameters; I see like going up to php code and everything is a bit excessive just to be able to create simple table tags, I might be mistaken though, in which case, I don't see how it is worth putting so much work into this. |
#14
|
|||
|
|||
Quote:
/includes/class_bbcode.php /packages/vbform/bbcodehelper/table.php. 'class_bbcpde.php' class vB_BbCodeParserThen look at 'table.php' ...method 'parseTableTag'function 'fetch_tag_list' It will help you gain a little insight. --------------- Added [DATE]1366961088[/DATE] at [TIME]1366961088[/TIME] --------------- It occurred to me last night that you might not know that if you double click on an image in the editor you can align it left or right, change the image size and target. It is not a complete fix for image alignment in posts, but it does help. We have altered vbulletin so that it is adaptive especially for tablets. So I did some modifications how photos are shown in the posts, depending on the number of photos. Thus extending vbulletins image positioning. Essentially creating a auto-formatted output. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|