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,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 223
  • Total: 223

Article preview blank, article link blank, makes me looked signed out.

Started by Bone Havoc, November 01, 2008, 04:52:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bone Havoc

Link to my site: http://www.newprojectgaming.com
SMF version: SMF ver. 1.1.6
TP version: TP ver. 1.0.6
Theme name and version: SMF Default Theme - Core
Mods installed: None except for TP
Related Error messages: No error message, read below please.

I'm having trouble getting articles to link to their own separate page.  I would link it, link would to lead to a page that would be blank in the middle and it wouldn't show me signed in at the top of the forum.  I could click on home and be signed back in though.  We have our old website that works perfect with SMF and TP.  www.newpr0ject.com.  The links under the "info" black go straight to a separate article page.

I never put together our old website and I'm kinda new to this whole thing so strange abbreviations will only confuse me.  I do find my way around SMF fairly well, TP isn't hard to navigate but maybe hard to understand how things are suppose to work.  Anyone have any ideas on what could be the problem?  My articles are active, but when I preview them, its blank, when I link them, its blank.  I have linked the "LAN Event Info" text under "Navigation" on the www.newprojectgaming.com site.  Any help would be much appreciated guy, thanks!

G6Cad

Hej and welcome to TP.

My first thought would be the settings you have for the articles when you creat them, you have the layout options for every article you create, would be good if you can eather show a screenshot of one article setting you have troubble with, or write up the exact settings you have for it  :)


Bone Havoc

My category settings:

Name: Navigation
Parent: -none-
Icon: TPadm-article.gif
Access: Guest, Ungrouped members, Global moderator, Moderator
Articles per page: 5
Query title: 1
Sort options: Sort by date, Decending
Layout: A
Display any child categories? Yes
Layout types: Normal Article

My Article:

-User intro: No
-Display on front page: No
-Category: Navigation

Type of Article:
-HTML Article

Display:
-Do not use title/frame

Status:
-Article is active

Viewing options:
Details:
-Display Date
-Display Title
-Display Author
-Display Linktree
-Display Top
-Display number of views
-Display ratings
-Allow to rate?

Panels:
-Use settings from category instead!
-Display rightblocks
-Display leftblocks
-Display upperblocks
-Display topblocks
-Display lowerblocks

Thank you for the quick response.  Is this what your looking for?  That is everything selected.  I noticed that if i featured the article it will work, but I don't want it on the front page when some goes to the site.  I have a single, none category article for my front page that I want to keep so when you press the "home" tab, it goes back to that one.


Bone Havoc

Yes, there are two right panel blocks and two left panel blocks on the front page.  I'm trying to put a link to an article with its own page on the left panel block titled "Navigation."  I have all the blocks set to "Display on all pages and sections."

IchBin

No, I'm talking about "Frontpage blocks". Not right or left blocks. Are you using a frontpage block. There is a difference.

Bone Havoc

Sorry, I misunderstood you.  I'm only using left, right and upper blocks.  I don't have any blocks added to the front page blocks.

IchBin

There are quite a few bugs with the articles and categories in TP 1.0.6. Take a look in the bugtracker and see if anyone of them match up with what you are trying to do.

SMFnub

So is there a solution to this problem?  For now I reverted back to 1.05.  But below is what I had from 1.06 if it will help for solution.

I am also having this and completely stumped as to how to solve it.  Do I need to reinstall TP back to 1.05?

When I look at forum log error, I get this:
Quote
Apply Filter: Only show the error messages of this URL  http://www.planb-wow.org/index.php?page=3
Apply Filter: Only show the errors with the same message
8: Undefined variable: k
File: /home/planbwow/public_html/Sources/TPortal.php
Line: 1706

And on line 1706 it is blank when I look at TPortal.php on Notepad ++
This is what I have.

// get menubox items

$context['TPortal']['menu']=array();

$request = db_query("SELECT * FROM {$tp_prefix}variables WHERE type='menubox' ORDER BY value5 ASC ", __FILE__, __LINE__);

if(mysql_num_rows($request)>0)

{

while ($row = mysql_fetch_assoc($request))

{

$icon='';

if($row['value5']!=-1 && $row['value2']!='-1')

{

$mtype=substr($row['value3'],0,4);

$idtype=substr($row['value3'],4);

if($mtype!='cats' && $mtype!='arti' && $mtype!='head' && $mtype!='spac')
THIS IS LINE 1706 AND I AM BLANK
{

$mtype='link';

$idtype=$row['value3'];

}


So yes I am stumped...

G6Cad


This website is proudly hosted on Crocweb Cloud Website Hosting.