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: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

[Discussion] Tabbed Block by Mouse Over

Started by Freddy, September 05, 2009, 05:31:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SN

Wow thanks again Freddy... i'll consider it a birthday present :P.

Looks great on my site, click my sig to see it.

I wish you was a Spurs fan  ;)

Freddy

Ahha, happy birthday then :)

I do actually like Spurs a lot, always have since I was a kid and they kept winning the FA Cup.  I support Norwich City as I was born in Norwich.  We're doing really well at the moment (touch wood) but I will always have a soft spot for Spurs and usually watch when they are on the telly.

Just had a look at your site, that fits in nicely.  It's always nice to see when these snippets find a good home.

Cheers :)

lurkalot

#102
Freddy.  I've been trying this out on two of my testsites running on a xampp local install. SMF2 version

Although the block seems to work fine, there's a error showing at the top of the block.

Quote
Notice: Undefined index: show_download in C:\xampplite\htdocs\forum\Sources\TPSubs.php on line 201

Nothing in error log.  Any ideas please?

Freddy

Hmm, odd, is this at the very top of the block or within the tabs.  Screen shot perhaps ?

Nothing in the error log... bah that could mean it's the code in the external file.   What version of TP are you on ?

Freddy

There's no mention of that variable in the external code, so I guess it must be a TP problem.

Bloc, do you have any ideas ?

This is code in an external file and uses TPortal_init(); to link up with TP.  Is it possible a variable is not getting set ?

lurkalot

Quote from: Freddy on September 26, 2010, 01:19:36 PM

Hmm, odd, is this at the very top of the block or within the tabs.  Screen shot perhaps ?


Sure Freddy, here's two screengrabs from two different test sites.  O0

Freddy

Yeah it's not this block that's doing it directly.  It's a possible bug in RC1 I think.  I am still using the beta 5.2 here in my test sites and that line does not exist here.  But I took a look in the newer TP RC and I can see the line that is causing the problem.

If it's doing that for this block then I would have thought it would be generating some errors normally too in the error log, but it doesn't sound that way.

Not really something I can fix, I would need Bloc to comment.  I think we could turn error reporting off just in the external file, but I will need to read up on that, unless anyone else can jump in.

lurkalot

#107
Thanks Freddy.

Now another strange thing.  I just installed it on my test site running SMF 1.1.11 and TP1.0RC1 and it's fine.  Trouble is I can't remember if this is running TP RC1 test version from the team board, or the official release.  :-[ 

EDIT:  Then again this info probably isn't relevant, as looking at the TP.Subs for this version doesn't contain the line that causes this error.  :uglystupid2:

bloc

This should really be an option of panels..that you could show its blocks as tabs. Maybe not everywhere, but for example only in one place.

Maybe its better to have tab setup as an option for "free panels" (planned for v1.1), which a block could call upon. So a block showing the free xxx_panel in forum only, in the upper panel for example. Sounds useful doesn't it? at least in theory. :)

ZarPrime


This website is proudly hosted on Crocweb Cloud Website Hosting.