News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

bloc

Quote from: IchBin™ on August 07, 2011, 06:13:21 PM
Quote from: fmofmpls on August 06, 2011, 06:34:45 PM
Can anybody please tell me whether or not the Global Tags function is working with TP? I can't seem to get an answer.

I have no idea what Bloc's intentions were for the tags feature. It seems incomplete to me. So at this point, I'm going to say no it's not working.

It was working at some point for TP 1.0... The reason for them was very simple: provide a way to link automatically downloads, articles and even forum topics that have those tags specified. So a tag of "biology" put onto a topic and an article, would make - when you was in that article or topic - links to the others tagged with it, appear under it. The "global" part was simply that it worked across all modules(it wasn't many of them lol)


Matthew-me

Brad

... got everything working fine with a new install of SMF 2.0 instead of upgrading. Thanks for your advice. Have hit one snag that I also hit with the previous version:

One user is using iPhone and wanted the left panel to show in the forum .. I enabled it (un-hid)  .. then he complained that it chopped the images .. so I disabled it (hid it again in forum)  ...

Result is that the panels no longer remember if they were on or off on the homepage - left panel is always collapsed when you return there, right and upper always expanded ... even within a session.

Prior to doing this the panels would remember your settings and now it seems to forget. .. (or was I imagining that?) ... but in any case .. left panel is enabled but always hidden til you click the tit on the homepage to expand following this switching on and off of the panel in the forum ....

Any suggestions?

Thanks,

Matthew
How will you make the world a better place today?

IchBin™

Off the top of my head, I think that TP sets a cookie when upshrinking panels. Try clearing your cookies for your site and see if that helps.
IchBin™        TinyPortal

Matthew-me

Brad,

Quote from: IchBin™ on August 12, 2011, 11:01:53 AM
Off the top of my head, I think that TP sets a cookie when upshrinking panels. Try clearing your cookies for your site and see if that helps.

Removed the tp_upshrink cookie .... no joy

Removed the three (???) tp_panels cookies ... all back to normal.

Maybe there is an error in the code looking for the panels cookies?

Thanks for your help once again,

Matthew
How will you make the world a better place today?

IchBin™

Do you still have problems after resetting your cookies? Are you able to upshrink and expand them without problems?
IchBin™        TinyPortal

anicolac

Español
Hola, tengo un error crítico en el foro y no encuentro información.

Me ocurre, después de eliminar un comentario de un artículo.

smf 2.0
TinyPortal  1.104

http://www.asistenciaexperta.com/index.php?/page,22.html
The database value you're trying to insert does not exist: com
Function: doTPpage
Archivo: /homepages/24/**/htdocs/**/Sources/TPortal.php
Línea: 801


El código es:
794: // if the count differs, update it
795: if($ccount != $article['comments'])
796: $smcFunc['db_query']('', '
797: UPDATE {db_prefix}tp_articles
798: SET comments = {int:com}
799: WHERE i= {int:artid}',
800: array('com' => $count, 'artid' => $article['id'])
==>801: );


-------------------
English google translation
Hello, I have a critical error in the forum and can not find information.

It happens, after deleting a comment from an article.

smf 2.0
TinyPortal  1.104

http://www.asistenciaexperta.com/index.php?/page,22.html
The database value you're trying to insert does not exist: com
Function: doTPpage
Archivo: /homepages/24/**/htdocs/**/Sources/TPortal.php
Línea: 801


El código es:
794: // if the count differs, update it
795: if($ccount != $article['comments'])
796: $smcFunc['db_query']('', '
797: UPDATE {db_prefix}tp_articles
798: SET comments = {int:com}
799: WHERE i= {int:artid}',
800: array('com' => $count, 'artid' => $article['id'])
==>801: );


thank you very much
www.applemaniacos.es - SMF 2.0.4


IchBin™

Replace your code with this:
// if the count differs, update it
if($ccount != $article['comments'])
$smcFunc['db_query']('', '
UPDATE {db_prefix}tp_articles
SET comments = {int:com}
WHERE id = {int:artid}',
array('com' => $ccount, 'artid' => $article['id'])
);
IchBin™        TinyPortal

anicolac

Quote from: IchBin™ on August 15, 2011, 10:30:40 AM
Replace your code with this:
// if the count differs, update it
if($ccount != $article['comments'])
$smcFunc['db_query']('', '
UPDATE {db_prefix}tp_articles
SET comments = {int:com}
WHERE id = {int:artid}',
array('com' => $ccount, 'artid' => $article['id'])
);


Thank you very much for the solution.  :D
www.applemaniacos.es - SMF 2.0.4


IchBin™

Just bad type errors on my part. :) Thanks for reporting the bug!
IchBin™        TinyPortal

Biology Forums

Is there ways of changing the shoutbox style, I'm using 1.1.14.

IchBin™

Yep, the HTML is right at the bottom of the Themes/default/TPShout.template.php file in the last function. Feel free to edit to your hearts desire. :) There's also the TPShout.css you'll likely want to take a look at too.
IchBin™        TinyPortal

Biology Forums

Quote from: IchBin™ on August 17, 2011, 02:22:16 AM
Yep, the HTML is right at the bottom of the Themes/default/TPShout.template.php file in the last function. Feel free to edit to your hearts desire. :) There's also the TPShout.css you'll likely want to take a look at too.

Great thanks, anyone have any variants pre-made?

IchBin™

Nope. I've only seen people want to remove the time or something small like that. I haven't seen anyone post any major changes to the layout.
IchBin™        TinyPortal

Biology Forums

Quote from: IchBin™ on August 17, 2011, 12:04:49 PM
Nope. I've only seen people want to remove the time or something small like that. I haven't seen anyone post any major changes to the layout.

Cool, just one question, how do I remove Last 5 Shouts: from the template.

IchBin™

I don't know off the top of my head. Here's how you find out though.

Get yourself a good text editor that can search not only in the current file, but in a directory of files. Notepad++ does this. Search the TPShout.english.ph language file for that string "Last 5 Shouts". If it doesn't come up shorten your search to"Last". Once you find the $txt variable assigned to it, then do a search in the TPShout.template.php file for it. That's one way to find out where things are located.
IchBin™        TinyPortal

Biology Forums

Is there any way of hiding the scrolling overflow for 1.1.14?


IchBin™

Quote from: shuban on August 24, 2011, 04:01:29 PM
Is there any way of hiding the scrolling overflow for 1.1.14?

If I knew what scrolling overflow that you were talking about.... there might be a way.
IchBin™        TinyPortal

Biology Forums

Quote from: IchBin™ on August 24, 2011, 04:03:14 PM
Quote from: shuban on August 24, 2011, 04:01:29 PM
Is there any way of hiding the scrolling overflow for 1.1.14?

If I knew what scrolling overflow that you were talking about.... there might be a way.

Quick reply, got it though, all I had to do what put the object in a DIV and add overflow: hidden as its style ;)

Mick.

Brad,
I updated my site with tp's latest version back in june. However, yesterday I decided to to redo the portal with a diff layout. I wanted to show forum posts in frontage with the 4 boards I selected with 6 posts.

The issue I found I is, it only shows 6 posts of the very first board I selected from the dropdown. The other 3 boards wont post.

I thought I'd let you know as it may be a bug?

Zuća

Quote from: bluedevil on August 31, 2011, 12:05:09 PM
Brad,
I updated my site with tp's latest version back in june. However, yesterday I decided to to redo the portal with a diff layout. I wanted to show forum posts in frontage with the 4 boards I selected with 6 posts.

The issue I found I is, it only shows 6 posts of the very first board I selected from the dropdown. The other 3 boards wont post.

I thought I'd let you know as it may be a bug?

I have the same problem as you

Advertisement: