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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,250
  • Total Topics: 21,354
  • Online today: 626
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

back again. category issues driving me nuts

Started by superQ, January 21, 2006, 06:55:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

superQ

I know I am the only one with this prob ,but I am going crazy. All I want to do is add a category or 2 or 3. What is the trick. I go to tp admin and click edit category and then add category then fill in the name then click send=nada. I assume the general category is in fact a category and that the one i just created shuld appear somewhere.

What am I missing.

smf 1.1rc1 tp 0.75 amber theme



Right now inside tp admin in edit categories is local issues I have clicked send like 5 times.Of couse I cannot add aor edit categories in admin either.


What I want to do is lke on this frum where you have General category  then you have tiny portal category then themes category. I can't seem to get it done. :uglystupid2:

Nokonium

I believe that you are refering to the 'Content' block. That is set up in the Menu Manager. In 0.75 You don't need 'Categories', you can link directly to articles.

superQ

No I can work the content edit fine. I am trying to add categories to the forum. Right now it just has general.

Nokonium

You mean boards. They are not part of TP, they are part of SMF.

Admin>Forum>Boards> Manage Boards and Categories>Create new category

That should add a Board Category, you can then add boards to the Category.

I have an RC1 test site with TP 0.75 and I've just tried it.

superQ

let me try again. I tried it before and i ger an error and it does not take effect. I have like 6 categories in the admin section and none of them show up. I know it should be done in admin. What I don't udderstand is why you can do it and it works, but I do it and it doesn't

Rasyr

Empty categories are not shown, IIRC. They won't show up unless you actually add a board to the category.


Nokonium

One lesson I was told to do and can confirm works, about installing TP, is start with a completely clean install of SMF and add TP tp it, then add other mods etc. and the other lesson is leave the default theme totally untouched except by the file changes done by the Package Manager.

Though you will have problems installing anything through the Package Manager with RC1.

superQ

#7
Thanks to both of you. Not having a board was the prolem. :uglystupid2:
I think I am still seeing this error though

Here are the lines


      // add the linktree for category here, if its empty of articles
      if($mycat!=''){
            TPstrip_linktree();
            // get the name of category
            TPadd_linktree($scripturl.'?cat='.$mycat , $context['TPortal']['categories']['name'][$mycat]);      }

      if (mysql_num_rows($request) > 0)
      {

        while($row = mysql_fetch_assoc($request)){



285 is the one that is not black.


I also get this error if I try to delete a category. It does not delete

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
File: /home//public_html/Sources/Subs-Boards.php
Line: 1190

the line.


   // Delete ALL topics in the selected boards. (done first so topics can't be marooned.)
   $request = db_query("
      SELECT ID_TOPIC
      FROM {$db_prefix}topics
      WHERE ID_BOARD IN (" . implode(', ', $boards_to_remove) . ')', __FILE__, __LINE__);   $topics = array();
   while ($row = mysql_fetch_assoc($request))
      $topics[] = $row['ID_TOPIC'];
   mysql_free_result($request);

   require_once($sourcedir . '/RemoveTopic.php');
   removeTopics($topics, false);





Nokonium

Don't worry about that error, Bloc knows about it and it will be fixed in the next beta release.

superQ

That's what superQ likes to hear. Thanks

Btw is there any way to position articles. I would like to keep 1 at the top and be able to adjust the others. Do I just change the date. Appreciate a reply on that one.

I have another on creating links in articles. Especially the window that pops up is a little mysterious.Maybe start another thread on that unless someone feels like explaining the process to link to an external site like say amazon.com. I highlighted the word and clicked insert hyperlink or whatever, and it didn't work out too good.

This website is proudly hosted on Crocweb Cloud Website Hosting.