TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 05:44:59 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 48
  • Total: 49
  • @rjen

Shoutbox Sessie time out?

Started by ice_cub, September 29, 2006, 11:39:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ice_cub

Ik heb SMF 1.1 RC2 geÃÆ'Ã,¯nstalleerd + TP 0.9.5
Waarom RC2? Omdat er nog geen themes voor RC3 zijn.
Alles werkt perfect, behalve mijn Shoutbox.
Wanneer ik een post probeer te doen krijg ik dit bericht:

Fout bij het versturen van het formulier. Sessie timeout.

Ik heb zelfs heel mijn forum op chmod 777 gehad en nog was het niet opgelost.
Is er iemand die weet hoe ik dit op kan lossen?

Aaron

Hoi ice_cub,

De thema's die voor SMF 1.1 RC2 zijn gemaakt kun je zonder problemen onder SMF 1.1 RC3 gebruiken.

Ik suggereer dus een upgrade, waarna het probleem opgelost zou moeten zijn.

Groet,
Aaron.

IchBin

Can't read Dutch, but does this help?

Edit Sources/TPortal.php
[FIND]
// get x number of shouts
if(isset($using_shoutbox) || (isset($_GET['sa']) && $_GET['sa']=='shoutbox'))


[ADD BEFORE]

// set context info for profile shouts hide
$context['TPortal']['profile_shouts_hide'] = empty($context['TPortal']['profile_shouts_hide']) ? '0' : '1';


Session Time out Shoutbox
Edit /Themes/default/TPmodules.template.php
[FIND]
if($context['user']['is_guest'] && $context['TPortal']['guest_shout'])
echo '
<br /><input style="margin-top: 4px;" size="20"  type="text" name="tp-shout-name" value="'.$txt['tp-guest'].'">';
else
echo '<input type="hidden" name="tp-shout-name" value="'.$context['user']['name'].'">';

echo '<input name="tp-shout-url" type="hidden" value="'.$tp_where.'">


[ADD AFTER]
<input type="hidden" name="sc" value="', $context['session_id'], '" />

ice_cub

The problem is with the Amber theme addon

G6Cad

I think you have to wait for the update package that will be released soon. I think that will fix the shoutbox time out issue, there have been 2 diffrent issues with the shoutbox timeout, one is a DB issue where you need to remove one parentese from the shout block code in TPortalBlocks.template.php

Another seem to be just an issue with themes (Amber and Helios) for some strange reason, but we hope that the updated themes that will start to role in for 1,1.rc3 and Tp V.095 to morrow some time.
Be patient and hope it will solve the issues you have

ice_cub

Yes I think there aint no other way.. still thanks for all the help :)
If you still have any suggestions that might fix the problem..
Just post them and I'll try them out.