TinyPortal

Development => Support => Topic started by: MichaelVash7886 on March 28, 2009, 11:11:28 PM

Title: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 28, 2009, 11:11:28 PM
Ok we've had TP installed for a bit (we converted our SMF board to TP.  However I seem to be running into a few problems. 

1 When I'm writing an article I can't seem to insert a link.  I highlight my text hit the insert link button and add my URL, and hit ok, but when I press submit for the article the box pops back up once I come back to the edit page and I click ok again but this time it won't go away and I have to click cancel.  If I go out to an article it will appear there's a link but it says something about javascript void (0) and a string of numbers.  To see this go to the site.  www.8bitrebels.com and look at the featured article at the top I just have the link pasted but at the very end I just added the word Test and tried to link that.  Gave me the same problem.
This is the article I'm talking about: http://8bitrebels.com/boards/index.php?page=PodcastEpisode10

2. Are there any mods to make adding links and youtube clips etc easier?  I know for our forums we have a script where you just have to add the Youtube URL and it will embed the video.

3.  We bought a theme when we were just an SMF forum but it had a tp section.  We installed it and used it on the boards when they didn't have TP.  But since the switch it gives whoever tries to use it an error and they can't see anything.  We since deleted the theme and tried reinstalling it.  I hit preview but I still get:

Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /home/content/t/h/e/thewiicast/html/boards/SSI.php:193) in /home/content/t/h/e/thewiicast/html/boards/SSI.php on line 195

Can anyone help me with these?


Link to my site: http://www.8bitrebels.com
SMF version: SMF ver. 1.1.8
TP version: TP ver. 0.9.8
Theme name and version: XD-MrsXV1 as far as version I'm not sure.  We got it from Tinyportalmedia.com  However the theme currently being used is just the SMF default that came with TP 0.9.8
Mods installed: Look at my 3rd post in this thread, counting this one.
Related Error messages: Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /home/content/t/h/e/thewiicast/html/boards/SSI.php:193) in /home/content/t/h/e/thewiicast/html/boards/SSI.php on line 195
And of course Javascript Void on the link problem.
Title: Re: Several article and one general question...
Post by: Ken. on March 28, 2009, 11:15:38 PM
Hi MichaelVash788, welcome to TinyPortal.

Please give the info called for in the posting guide so that we are better able to help.
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 28, 2009, 11:40:17 PM
I forgot to mention I also wanted to create a block that contained articles for a particular category and its sub-categories.  I've tried creating it in the admin panel and the block comes up but it doesn't bring up the articles in the sub-categories just the main one.
Title: Re: Several article and one general question... (Edited with TP and SMF version
Post by: ZarPrime on March 28, 2009, 11:56:51 PM
You've got lots of different questions here.  They each probably should have been placed in different topics to keep the confusion level at a minimum.

The error in #3 is likely because theme was not designed to work with TP 0.98 but I'm not sure.  You should probably ask about that problem on the TPM site.

On #2, I don't understand exactly what you want to know.

On #1, post the code you are using here inside code tags and tell us what kind of block you are using.

Finally, a 4th question in your last post.  Tell us more about how you are trying to do that (what kind of block are you using and what is the code?)

ZarPrime

Edit:  And last but not least, you can find out wht Mods you have installed by going to Admin ---> Package Manager and clicking installed mods.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 12:08:47 AM
On 2 I mean that in our SMF forum we have a script that allows one to simply post the URL to a Youtube video rather than the full embed string and it will embed the video.

On 1 I'm hitting the insert edit Link button  It's not in a block but rather in an article.

On the 4th question (my second post) I'm going to manage blocks and I'm making an article category and putting the main category in the slot where's asking for the category.  It displays articles in that category but not any in sub-categories. 

Mod Name     Version     
1.    FlashChat Integration    1.0
2.    Lots_o_Smileys    1.0    
3.    Custom Profile Field Mod    3.17
4.    Member Color Link    2.0.5    
5.    Member Awards    1.0.2
6.    Delete Spam Posts 1.1    1.1    
7.    Increase/Decrease Postbox Size    1.0    
8.    Admin Notepad    1.0
9.    Board Viewers Mod    1.2    
10.    Double Post Stopper    1.0.1
11.    Global Announcements    1.0
12.    Spoiler Tag    0.3.2
13.    Disable shouting    1.0    
14.    SMF Shoutbox    1.16b
15.    Country Flags    1.0.1
16.    Display Age and Location next to posts    1.0
17.    Profile Music    1.0
18.    SMF Staff Page    1.5.1
19.    User Control Panel By Alan S    2.0
20.    SMF Arcade    2.0.12
21.    SMF Arcade Trophies Mod    1.1.1
22.    SMF Arcade PM Switch    1.0.1
23.    SMFShop    3.0
24.    SMF Shop - Jeeves The Butler    1.0.1
25.    Shop Item: Profile Image    0.1
26.    Shop Item: Change Display Name CSS    1.0
27.    Additional Membergroups on Profile    1.0
28.    RedeemShop    0.1
29.    Group Moderators    1.4
30.    SMFPets    0.2
31.    Treasury    2.07
32.    Downloads System    1.0.3
33.    SMF Arcade Shop Mod    1.0.0
34.    Redirection Boards    2.01
35.    Signature BBCode Bar    1.4
36.    Profile User Action    1.1
37.    Enhanced Quick Reply Box 2.0.2    2.0.2
38.    Allow TAB in Postbox    1.1
39.    Popup PM Message - Uses The Same Window    1.3
40.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0
41.    SMF 1.0.14 / 1.1.6 Update    1.0
42.    SMF 1.0.15 / 1.1.7 Update    1.0    
43.    SMF 1.0.16 / 1.1.8 Update    1.0    
44.    TinyPortal    0.983
Title: Re: Several article and one general question... (Edited with TP and SMF version
Post by: ZarPrime on March 29, 2009, 02:13:50 AM
OK, because this topic has already become terribly confusing to me because of all the different issues, let's take one problem at a time.  As we solve each one, we can go on to another one.

Quote from: MichaelVash7886 on March 28, 2009, 11:11:28 PM
1 When I'm writing an article I can't seem to insert a link.  I highlight my text hit the insert link button and add my URL, and hit ok, but when I press submit for the article the box pops back up once I come back to the edit page and I click ok again but this time it won't go away and I have to click cancel.  If I go out to an article it will appear there's a link but it says something about javascript void (0) and a string of numbers.  To see this go to the site.  www.8bitrebels.com and look at the featured article at the top I just have the link pasted but at the very end I just added the word Test and tried to link that.  Gave me the same problem.
This is the article I'm talking about: http://8bitrebels.com/boards/index.php?page=PodcastEpisode10

What type of article are you using?  Please post the code here using bbc code tags.  One more question.  Is this link supposed to imbed a video using bbc tags according to how the mod to do that works?

ZarPrime
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 02:28:16 AM
Quote from: ZarPrime on March 29, 2009, 02:13:50 AM
OK, because this topic has already become terribly confusing to me because of all the different issues, let's take one problem at a time.  As we solve each one, we can go on to another one.


What type of article are you using?  Please post the code here using bbc code tags.  One more question.  Is this link supposed to imbed a video using bbc tags according to how the mod to do that works?

ZarPrime
I'm going to article manager and just hitting add.  I'm typing up what I want and then I highlight something and I hit the Insert Edit Link button.  I'm not using BBC code.

http://8bitrebels.com/boards/index.php?page=PodcastEpisode10  < this is the most recent article I tried it with.  Look at the word Test, I tried to link to the main site page just to test it if was working, I hover over the link and in the status bar at the bottom I see the Javascript void (0) followed by numbers bit.

There is no code I'm typing up that I could be messing up I'm using the built in buttons. 

Not trying to add a video, just simply trying to add a hyperlink.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: JPDeni on March 29, 2009, 02:35:55 AM
Which editor are you using? It's likely a problem with the editor. You can get around the problem by accessing the html directly and adding your link in there.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 02:50:05 AM
I'm using the one in TP when I just click add rather than add PHP.  I just tried it with the basic HTML code and it worked, was just hoping I could find an easier way for those not as familiar with it.  When a normal user submits an article they come to the same editor. 

If the editor has a version or not I can't find it.  I can't view the HTML, but if I enter this manually it works

<a href=link>text</a>

I was just hoping I could fix the editor for those people that don't know much about code.
Title: Re: Several article and one general question... (Edited with TP and SMF version
Post by: ZarPrime on March 29, 2009, 03:26:23 AM
In the editor, push the source button to enter code directly as shown in the image below.

ZarPrime
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 03:45:28 AM
Sorry, wasn't aware you could push the source button.

Ok I push the "ok" button then the window goes away, but it seems to just minimize instead.  I click source and I have:
<a href="javascript:void(0);/*1238294442361*/">Test</a>

I was thinking it was something wrong with my browser (using Firefox 3.0.8.  It's like the box isn't adding the link.  Once I hit ok the first time and it is minimized (it's shown on the taskbar in XP), if I click the tab on the taskbar or hit save it comes back up I have to cancel or hit the x to close it, the Ok button no longer functions.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: JPDeni on March 29, 2009, 04:04:22 AM
In your TinyPortal settings, you have selected either FCKeditor or whizzywig. That is the editor to which I was referring. There are problems with both of those editors and later versions use a different one.

When you need to enter a link, use the Source button and enter the html directly for the time being, as long as you use this version of TinyPortal.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 04:14:02 AM
So that is fixed in the newest version of Tiny Portal?

If that's the case I think the question in my second post about having a block display all articles in a category and the subcategories for that category is the only other thing I need help with.

Edit:  It'd be helpful to be able to create a menu item to display all in a categories sub category as well.

But I have a category for reviews, then I have that divided into sub-category for each system, when I try to create a block or menu item displaying the articles from that it doesn't include all the articles in subcategories.

Is this added in a later version of TP as well?
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: JPDeni on March 29, 2009, 05:29:18 AM
Yes, the current beta version uses a better editor. I just checked link creation and it works fine.

It's likely that the category/subcategory listing that you want will only be achieved by custom programming. If I can get an expicit description -- even better, an example -- I might be able to write it for you.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 06:33:04 AM
I have;

Category:
Reviews

Sub categories:
Wii Reviews
DS Reviews
PS3 Reviews
etc.

I'd like to have it so a menu item and a block have all reviews.  And even though they are in Wii Reviews or PS3 reviews I'd like them to appear in the same block and have a menu item that brings them all up.  I currently have it set that way, by not putting them in the sub-category, but if it's that much trouble it's not worth worrying about.  I can just mark the article with the system name rather than you having to spend time on something random like that.  The main reason I'd want to be able to do the other is because then if someone wanted something particular like just Wii or PS3 etc. they'd be able to just pick that menu item and filter them. 

Other than that the only other gripe I have with TP is I can't put articles into more than one category.  I could solve the above just as easily by putting them in both categories, but I understand it's a constantly evolving thing.

I guess consider these two things as requests for future versions.
Title: Re: Several article and one general question... (Edited with TP and SMF version
Post by: ZarPrime on March 29, 2009, 11:56:28 AM
Let me go back to your question about the editor.  As JPDeni said, there are problems with the editors in the older versions of TP.  That is why the newest versions use the new light weight editor.  Until you do decide to upgrade, your users can use an external editor like the open source Kompozer, which I use quite often.  It is located here ---> http://kompozer.net/

Your users can do their code in that, and then copy the code and paste it into a script box (for blocks) or into the code view of an article.

Now, I'll let you and JPDeni work together on the custom code question.

ZarPrime
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 07:35:07 PM
Thanks for the tip I'll try that out.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: JPDeni on March 29, 2009, 07:49:32 PM
I'm unable to tell whether you want custom code or not from your earlier post.
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 07:59:41 PM
Like I say just consider it a request for a feature in future versions of Tiny Portal.  After thinking about it a bit more, I think the ability to include an article in two categories would help more so than coding a menu/ block.  I'm not sure which would be easier to program for include subcategories in block/ menu or allow 2 or 3 article categories, but I'd like to request one or the other to be in a future release of TP.

If it ever gets to the point where I feel that I absolutely need a coded block or menu item I may come back and ask, but for right now I can work around it.
Title: Re: Several article and one general question... (Edited with TP and SMF version
Post by: ZarPrime on March 29, 2009, 08:54:15 PM
OK, well, for now, it sounds like that answers all the original questions except the one about the theme, which you should probably talk to somebody on TPM about.  Am I correct?

ZP
Title: Re: Several article and one general question... (Edited with TP and SMF version)
Post by: MichaelVash7886 on March 29, 2009, 09:02:29 PM
Yeah, went ahead and checked over there.  Thanks for the help you guys.