TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 694
  • Total: 694

Looking for a bit help with TP 1.0 beta3 / articles

Started by Thy73, February 25, 2009, 02:37:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thy73

I just upgraded from SMF 1.1.4/TP 0.9.8 to SMF 1.1.8/TP 1.0 beta3
Had to install everything new all from scratch and build everything up new, cause I had allot of problems with some system files, database and FTP access.

Anyway, on the old forum, witch by the way is a community forum for AAO players in Denmark, I had a menu with the different clans teamspeak and game servers, so when you clicked on one of them, their teamspeak would show in the center of the frontpage (using the code from www.tsviewer.com).
I created an article with the javascript code in the article and linked the article to the menu of the clan.
Now with the new TP 1.0 beta3, I'm missing the option in the article where you could click the top left to switch between regular text or picture and codes.

Now how can I create something similar again to satisfy everyone ?
The code (to take an example):

<script language="javascript" type="text/javascript" charset="iso-8859-1" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=5248&bg=transparent&type=&type_size=8&type_family=1&info=0&channels=1&users=1&js=1&type_s_color=000000&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=000000&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=none&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=none&type_c_color=ffffff&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=ffffff&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=none&type_u_color=ffb400&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=ffb400&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none&skin=tsv_mini"></script><noscript>Enable JavaScript or visit TeamSpeak Viewer to display the TeamSpeak server.</noscript>

And it will show the ts tree like in this link: http://www.tsviewer.com/index.php?page=ts_viewer&ID=5248

If there is a better way to create similar, I'm more than happy to hear about it.

IchBin

In the new editor, there is an button with the characters <> on it. That is the code button.

Thy73

When I add the code in an article and then click the <> for codes, it all disapeers.
When I click the <> for codes and then add the code, it stays. But when looking at the finished article, it is empty.

:o

G6Cad

1. click <>
2. paste the code and save

3. Preview the article

IchBin


Thy73

I played a bit around with it and I think I've got it working now.
It was because the code got moved down to the intro box instead of the main box, and when I unchecked the "show intro" nothing was shown.


Thy73

IchBin, I'm using a HTML article block to get the ts to show in, that's what I used in the old forum.

This website is proudly hosted on Crocweb Cloud Website Hosting.