Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

December 03, 2022, 08:22:12 AM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193625
  • Total Topics: 21107
  • Online today: 100
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 93
Total: 93

Author Topic: Shoutbox Sessie time out?  (Read 4600 times)

0 Members and 1 Guest are viewing this topic.

ice_cub

  • Guest
Shoutbox Sessie time out?
« on: September 29, 2006, 04:39:57 AM »
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

  • Guest
Re: Shoutbox Sessie time out?
« Reply #1 on: September 29, 2006, 09:36:35 AM »
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.

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Shoutbox Sessie time out?
« Reply #2 on: September 29, 2006, 10:01:33 AM »
Can't read Dutch, but does this help?

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

[ADD BEFORE]
Code: [Select]
// 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]
Code: [Select]
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]
Code: [Select]
<input type="hidden" name="sc" value="', $context['session_id'], '" />

ice_cub

  • Guest
Re: Shoutbox Sessie time out?
« Reply #3 on: September 29, 2006, 11:01:25 AM »
The problem is with the Amber theme addon

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Shoutbox Sessie time out?
« Reply #4 on: September 29, 2006, 12:23:06 PM »
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

  • Guest
Re: Shoutbox Sessie time out?
« Reply #5 on: September 30, 2006, 05:45:09 PM »
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.