Mariofan13 wrote:Yes, I know - I used the Code-BBCode, and the quote BBCode, because I wanted to highlight some elements of the code - this is not posssible in code-tags.
Have you seen the posting It is completely destroyed - this is more than a small bug
correct you can not highlight things in code tags
Mariofan13 wrote:This is the destroyed posting:
- Code:
[code][code]OKay ;)
This is my portal_body:
[code]
[table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"] [tr] [td colspan="3" width="100%"] {giefmod0.MODVAR}
[table border="0" cellpadding="0" cellspacing="0" width="100%"] [tr] [td height="{SPACE_ROW}"][/td] [/tr] [/table]
[/td] [/tr][/table]
[/code]
here:
[quote]
DESCRIPTION OF THE SUBFORUM
[b]Insert the code here as often as you want[/b]
[table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"] [tr] [td colspan="3" width="100%"] {giefmod4.MODVAR}
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="{SPACE_ROW}"></td> </tr> </table>
<table class="portal" align="center" border="0" cellpadding="{SPACE_COL}" cellspacing="1" width="100%"> <tr> <td class="column" valign="top" width="{C1SIZE}"> {giefmod1.MODVAR}
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="{SPACE_ROW}"></td> </tr> </table>
</td> <td valign="top" width="{C2SIZE}"> {giefmod2.MODVAR}
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="{SPACE_ROW}"></td> </tr> </table>
</td> <td class="column" valign="top" width="{C3SIZE}"> {giefmod3.MODVAR}
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="{SPACE_ROW}"></td> </tr> </table>
</td> </tr></table>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td colspan="3" width="100%">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="90%">
[b]
TITLE OF THE CATEGORY
[/b]
<table class="forumline" border="0" cellpadding="0" cellspacing="1" width="100%"><tr></tr><tr><td class="row1 over" colspan="1" height="50" valign="top" width="100%">
[b]
[url=http://help.forumotion.com/URL TO A SUBFORUM]TITLE OF A SUBFORUM[/url]
[/b]
DESCRIPTION OF THE SUBFORUM
</td></tr> </table>
</td></tr></table></td> </tr></table>[/code]
This is my portal_body template, I reduced the table at the end to only one row, so the code is not so long ;)
For more rows, insert this code:
[code]
[/td][/tr][tr][td class="row1 over" colspan="1" height="50" valign="top" width="100%"]
[b]
[url=http://help.forumotion.com/URL TO A SUBFORUM]TITLE OF A SUBFORUM[/url]
[/b]
DESCRIPTION OF THE SUBFORUM
[/td][/tr] [/table]
[/quote]
This is the script for the tag cloud:
[code]
google.load("visualization", "1");
google.setOnLoadCallback(drawVisualization);
function drawVisualization() {
// Create and populate a data table.
var data = new google.visualization.DataTable();
data.addColumn('string', 'Tag');
data.addColumn('string', 'URL');
data.addRows(8);
data.setCell(0, 0, 'NAME OF THE LINK');
data.setCell(0, 1, 'URL');
data.setCell(1, 0, 'NAME OF THE LINK');
data.setCell(1, 1, 'URL');
data.setCell(2, 0, 'NAME OF THE LINK');
data.setCell(2, 1, 'URL');
data.setCell(3, 0, 'NAME OF THE LINK');
data.setCell(3, 1, 'URL');
data.setCell(4, 0, 'NAME OF THE LINK');
data.setCell(4, 1, 'URL');
data.setCell(5, 0, 'NAME OF THE LINK');
data.setCell(5, 1, 'URL');
data.setCell(6, 0, 'NAME OF THE LINK');
data.setCell(6, 1, 'URL');
data.setCell(7, 0, 'NAME OF THE LINK');
data.setCell(7, 1, 'URL');
// Instantiate our table object.
var vis = new gviz_word_cumulus.WordCumulus(document.getElementById('mydiv'));
// Draw our table with the data we created locally.
vis.draw(data, {text_color: '#000000', speed: 50, width:700, height:270});
}
[/code]
You can change color, speed of rotation, width an dheight of the cumulus here:
[quote]// Draw our table with the data we created locally.
vis.draw(data, {text_color: '[b]#000000[/b]', [b]speed: 50[/b], [b]width:700[/b], [b]height:270[/b]});[/quote]
I hope, this helps you ;)[/code][/code]
I cannot evaluate, where I must place a code oder a quote tag, because the code is completely destroyed and jumbled
It was really hard to write this posting! For giving support it must be possible to post the content of a template!
Also, some html tags are changed to BBCodes - so you can't copy'n'paste the template into your forum! I must write the posting totally new
Note: I had to add two code tags at the begin and a the endig of the posting, because without these tags, it will be displayed incorrectly
Please report this bug to the techs
Why are you trying to use quote tags with code tags.
use code tags for codes only, if a member has to quote your post then they can do so along with your codes appearing as they should within the code tags.
Mariofan13 wrote:No.
The forum itself destroyed my code, after I edited the posting (because of a typing error). It moved code- and quote-tags, jumbled all the template code, and replaced html in code tags with BBCode.
now i do noy understand this at all. why are you mixing html and bbcode together. leave your template code in place as it should be on how it is edited in your template.. BBcode do not work in templates, so why would you modify elements of your original template coding to bbcode in your post, this will do nothing but render the template code no good if someone was to copy this with bbcode in it and try to add to a template
Mariofan13 wrote:I still don't understand you. I posted so:
- Code:
[code]template code[/code]
Text
[code]Part of the template code[/code]
Text
[quote]Part of the tempalte code with bold marked text[/quote]
Text
[code]script for word cumulus[/code]
Text
[quote] Part of the script[/quote]
Where is the problem?
[quote ]Part of the tempalte code with bold marked text[ /quote]No Part of the template code with bold marked text will not work within code tags.
and you can not add template codes in a post without them being in code tags or it will not appear. I suggest anything that you would have to have marked out in bold to better indicate what part you are talking about, you add that separate in a traditional code tag along with your explanation.
Mariofan13 wrote:NO! I placed the tags correctly, the forum itself deletes the closing code tags
I do not know what you mean by this?
Mariofan13 wrote:What d o you mean? I mean the posting. I copied and pasted one of the modified templates of my forum, and wanted to post it there. But after editing the posting, the code was messed up, and some HTml was executed.
If you are adding the template code to code tags it will appear with in the template codes.
but there is no way to highlight or make certain parts of your template code to be colors, bold etc
Mariofan13 wrote:PLEASE READ MY POSTINGS! I EXPLAINED THE PROBLEM 5 TIMES HERE IN THIS TOPIC!
Sorry, but I think, now it is enough. I explained the bug fovetimes or more in this topic, and you still not understand. Did you read my postings, or not?
Have you looked the linked posting here:
https://help.forumotion.com/t122035-customizing-the-portal#807413 You are admin, you can click the edit button to see the messed up code of the posting!
Mariofan13 wrote:But I posted not only this tempate code, I also posted parts of thsi code within quote tags and ant the end, I posted ajvascript - the only code which was not messed up
Please report the bug to the techs
This i will have to read. But it seems to me you are trying to incorporate quotes and code tags together, in addition of trying to modify elements of template codes by using bbcode for bold color etc... you can not do this.
If you have to specify certain elements or areas of template code then you will have to separate the parts and place them in individual code tags. Once again you can not add template codes to a post without code tags it will only show small parts of elements hat will appear.
like try putting this in a post. without code tags. You cant it will look like this.
And i don't understand why you are even trying to incorporate quote tags in with code tags?
- Code:
<form action="{S_MODE_ACTION}" method="get">
<table cellspacing="0" cellpadding="5" border="0" align="center" class="forumline" width="100%">
<tr>
<th class="thTop" nowrap="nowrap">{L_ORDER_OR_SELECT}</th>
</tr>
<tr>
<td class="row1">
<table cellspacing="2" cellpadding="0" border="0" align="center" class="genmed">
<tr>
<td width="100%">{L_USER_SELECT} <input type="text" class="post" name="username" maxlength="25" size="20" value="{L_USER_SELECT_VALUE}" />
{L_SELECT_SORT_METHOD} {S_MODE_SELECT}
{L_ORDER} {S_ORDER_SELECT}
{S_HIDDEN_SID}
<input class="liteoption" type="submit" name="submit" value="{L_SUBMIT}" /></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th class="thCornerL" nowrap="nowrap" height="25">#</th>
<th class="thTop" nowrap="nowrap">{L_AVATAR}</th>
<th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
<!-- BEGIN switch_th_group -->
And i don't understand why you are even trying to incorporate quote tags in with code tags?
Other then that i will go to the thread link you have posted above and see if i can make some sense out of this, but seems to me you are just doing things that are not compatible with posting in post, just stick to code tags for template codes and separate any parts you have to in separate code tags and you will not have any problems.
For some reason it seems like template codes do appear here on the support forum without being in code tags. This dose not work on my forum. if i try to post template codes to a post without being in code tags, only certain elements show and not the whole thing like it shows on this support forum.<form action="{S_MODE_ACTION}" method="get">
<table cellspacing="0" cellpadding="5" border="0" align="center" class="forumline" width="100%">
<tr>
<th class="thTop" nowrap="nowrap">{L_ORDER_OR_SELECT}</th>
</tr>
<tr>
<td class="row1">
<table cellspacing="2" cellpadding="0" border="0" align="center" class="genmed">
<tr>
<td width="100%">{L_USER_SELECT} <input type="text" class="post" name="username" maxlength="25" size="20" value="{L_USER_SELECT_VALUE}" />
{L_SELECT_SORT_METHOD} {S_MODE_SELECT}
{L_ORDER} {S_ORDER_SELECT}
{S_HIDDEN_SID}
<input class="liteoption" type="submit" name="submit" value="{L_SUBMIT}" /></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th class="thCornerL" nowrap="nowrap" height="25">#</th>
<th class="thTop" nowrap="nowrap">{L_AVATAR}</th>
<th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
<!-- BEGIN switch_th_group -->