the last posts
not topics
1 2006-06-23 15:31
Re: I want to integrate the last 10 post (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2 2006-06-23 14:33
Re: sid in url ? [RESOLVED] (2 replies, posted in PunBB 1.2 troubleshooting)
Nevermind, you was right, it was my host config (my host is OVH)
You need to add this :
ini_set('session.use_trans_sid','0');
ini_set("url_rewriter.tags","");
session_start();
3 2006-06-23 11:30
Topic: sid in url ? [RESOLVED] (2 replies, posted in PunBB 1.2 troubleshooting)
first time i go on my website, the sid appears in the url, but once u go on another it just disappears.
any idea?
it seems it comes randomly
4 2006-01-30 12:28
Re: Easy Poll - 1.1.3 (224 replies, posted in PunBB 1.2 modifications, plugins and integrations)
hi, thx for this usefull mod. I would like to integrate it into the homepage : i want to display the last poll and be able to vote through the homepage
Is it possible ? and how ?
I tried to copy/paste/mod the viewpoll.php but.. erhh i didnt get how u did it.
Thanks !
5 2006-01-30 12:24
Re: login integration , weird problem [FIXED] (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
ok i found the bug : i put http://micromediateam.com instead of www.micromediateam.com in the panel admin for the path.
So the cookies was bugued
lol^^
6 2006-01-21 17:51
Re: login integration , weird problem [FIXED] (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
weird.. u loggued in into the site then u clicked on a new threadsand u was loggued in the forum??
7 2006-01-21 17:38
Topic: login integration , weird problem [FIXED] (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
hi !
i have a problem to integrate the login in my homepage :
*if i log in through the homepage then go to the forum you're not connected. (with new threads link for exemple, if u just type /forum in url it works)
*if you log in through the forum then go to the homepage you're connected.
i'm pretty sure it's a cookies / session problem .. but can't figure it out.
login : test ; pass : test
http://www.micromediateam.com/TEKCLANv2/
<?
define('PUN_TURN_OFF_MAINT', 1); // if forums go down the site will not
define('PUN_QUIET_VISIT', 0); // update last visit when outside of the forums
if($pun_user['is_guest']){ // If the user is guest
?>
<a id="r" href="<? echo _PATH; ?>forum/register.php">REGISTER</a>
<a id="fp" href="<? echo _PATH; ?>forum/login.php?action=forget">PASSWORD?</a>
<form id="login" method="post" action="<? echo _PATH; ?>forum/login.php?action=in" onsubmit="return process_form(this)">
<p><input type="hidden" name="form_sent" value="1" />
<input type="hidden" name="redirect_url" value="<? echo _PATH; ?>index.php" /></p>
<p class="upinputspace"><input class="upinput" type="text" value="<?php echo $lang_common['Username'] ?>" name="req_username" tabindex="1"/></p>
<p class="upinputspace"><input class="upinput" type="password" value="<?php echo $lang_common['Password'] ?>" name="req_password" tabindex="2"/></p>
<p class="upsubmitspace"><input class="upsubmit" type="submit" name="login" value="SUBMIT" tabindex="3" /></p>
</form>
<?
}else{ // The user is registered
echo "<ul id='userlinks'>";
echo "<li>Welcome ".$pun_user['username']."<br /><a href='"._PATH."forum/profile.php?id=".$pun_user['id']."'>Profile</a></li>";
echo "<li><a href='"._PATH."forum/search.php?action=show_new'>Show new posts</a></li>";
echo "<li><a href='"._PATH."forum/login.php?action=out&id=".$pun_user['id']."'>Logout</a></li>";
echo "</ul>";
}
?>