Page Index Toggle Pages: 1 [2] 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) UpdateSession Update 0.5 (Read 11352 times)
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: UpdateSession Update 0.3
Reply #15 - Apr 3rd, 2006 at 6:15am
Print Post  
@Curtiss: No, but i will send you a PM with a account!

Lari
  
Back to top
 
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: UpdateSession Update 0.3
Reply #16 - Apr 13th, 2006 at 11:07pm
Print Post  
I would just like to add a note about this mod.  I'm not sure whether I'll do anything about it or not, but it would be nice to see a select box on not only the session validation form, but also on the login form.

In other words, let's say you're viewing a thread, and decide to log in.  You click the "Login" link at the top of the boards, and you are taken to the login form.  Below the "Username" and "Password" textboxes, there would be a select box asking "Where would you like to go after logging in?", and your choices would probably be at least:
Back to the page I was viewing
To the BoardIndex

I can't really think of any other important places that a person logging in would need to go right away (maybe the Help section or the Search form), but at the very least, they should be able to choose between returning to the BoardIndex and going back to the page they were viewing.

Like I said, I am thinking of adding that type of dropdown box to the session validation form so the user can choose to go to the BoardIndex, the page they were viewing, or straight to the Admin Center.
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: UpdateSession Update 0.3
Reply #17 - Apr 14th, 2006 at 11:13am
Print Post  
Nice idea Curtiss. Smiley
  


Back to top
WWW  
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: UpdateSession Update 0.4
Reply #18 - Jul 16th, 2006 at 3:27pm
Print Post  
A new update to this mod has been attached to the first post.

I have now replaced that "Go to Admin Center" checkbox with a dropdown box so you can choose where to go when you've updated your session.

In addition, I've added the same functionality to the Login routine, so you can now choose where to go after logging in to the boards.
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: UpdateSession Update 0.4
Reply #19 - Jul 16th, 2006 at 5:36pm
Print Post  
Hi,

error in step 3
search for:
Code
Select All
	if ($regdisable) {

		$yyuname = $iamguest ? qq~$maintxt{'248'} $maintxt{'28'}. $maintxt{'249'} <a href="$scripturl?action=login">$maintxt{'34'}</a>.~ : qq~$maintxt{'247'} $realname, ~;

	} else {

		$yyuname = $iamguest ? qq~$maintxt{'248'} $maintxt{'28'}. $maintxt{'249'} <a href="$scripturl?action=login">$maintxt{'34'}</a> $maintxt{'377'} <a href="$scripturl?action=register">$maintxt{'97'}</a>.~ : qq~$maintxt{'247'} $realname, ~;

	}
 



I have installed the Greet Plus Mod and BoardMod cannot find the "search for" Code.

Found in my subs.pl this line

Code
Select All
if ($regdisable) {
	  require "$sourcedir/greetplus.pl";
	  &greet_reg_disable;
	} else {
	  require "$sourcedir/greetplus.pl";
	  &greet_reg_enable;
	}
 



Can you make this mod compatible with Greet Plus Mod?

Greetz
  

Greeting ThM
Back to top
 
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: UpdateSession Update 0.4
Reply #20 - Jul 16th, 2006 at 7:26pm
Print Post  
Alrighty - I have added a "greetplus" version of this mod to be used with the GreetPlus mod.  Hopefully it will work.  You will need to have greetplus.pl in your Sources directory before running this mod, as it modifies the code in that file.
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: UpdateSession Update 0.4
Reply #21 - Jul 16th, 2006 at 8:23pm
Print Post  
Ok, Mod run  Wink

but any Question. I'm Login over the Button "Login" or "Einloggen" (in German) i saw in the drop down field three options:

First: "Back to BoardIndex"
Second: "My Profile"
Third: "Back to where I was",

I'm Login over the Option in the Board Footer only i saw two Options in the Login Section:

First: "Back to BoardIndex"
Second : "My Profile"

I missed the third option namend "Back to where I was"

Thanks for the update Mod.
I'm translate in German and you can updated the download File.

German Translate here

Code
Select All
###############################################################################
# AdminCenter_Update.lng (AdminCenter Update text definitions)                #
###############################################################################
# Admin Center Update                                                         #
# Adds quite a few options to the Admin Center		          		            #
# Version:        1.3 final (YaBB 2.0/2.1)                                    #
# Released:       March 31, 2006                                              #
# =========================================================================== #
# Written by Curtiss Grymala for the YaBB community                           #
# =========================================================================== #
# Copyright (c) 2000-2005 YaBB (www.yabbforum.com) - All Rights Reserved.     #
# Software by: The YaBB Development Team                                      #
#              with assistance from the YaBB community.                       #
# Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com            #
#               Your source for web hosting, web design, and domains.         #
###############################################################################

%updateses_txt = (
'1' => "Gehe direkt zu:",
'2' => "Letztem Standpunkt",
'3' => "Admin Center",
'4' => "Mein Profil",
'5' => "Board Übersicht",
'6' => "Thema beantworten",
'7' => "Neues Thema beginnen",
);

1;
 



Greetz ThM


  

Greeting ThM
Back to top
 
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: UpdateSession Update 0.4
Reply #22 - Jul 16th, 2006 at 10:27pm
Print Post  
Thank you for the German translation.  That will be helpful for all of our German users.

As far as your question goes - unfortunately, I don't quite understand what you mean.

If you are saying that you only found two options in the dropdown box when you looked at the form at the bottom of the BoardIndex, that's because of two reasons:
1)  There is no way for YaBB to know, the way this mod is written, where you came from if you used that login form.
2)  The bottom of the BoardIndex is the only place that login form appears (as far as I can tell), so it would be kind of pointless to have two options that send you to the same place anyway (although you will if you click on the "Login" link either in your greeting, or in the YaBB menu).
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: UpdateSession Update 0.4
Reply #23 - Jul 17th, 2006 at 7:48am
Print Post  
I mean the following:

When i click the Button from Yabb Navigations Panel i saw these three Options:



But when i scroll down to the Login Section at the End of the Board i saw these with two Options:



The Login Prozedure equals. From there i don't understand why the Options are different.

I hope you can understand my Question. My English it's bad  Roll Eyes
  

Greeting ThM
Back to top
 
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: UpdateSession Update 0.4
Reply #24 - Jul 17th, 2006 at 1:57pm
Print Post  
Yes.  As I explained, the second screenshot you showed me came from the BoardIndex.  That means that there is nowhere to go back to, as you are already at the BoardIndex.
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: UpdateSession Update 0.4
Reply #25 - Jul 24th, 2006 at 8:29am
Print Post  
@Curtiss:
You should say in your instructions, that you have to deinstall the "Redirect to thread at login"-mod from astro-pilot because your mod now can do the same!

Larian
  
Back to top
 
IP Logged
 
Stephan Reich
New Member
*
Offline


Ich mag Eintracht Frankfurt

Posts: 43
Location: Frankfurt am Main
Joined: Jul 14th, 2006
Gender: Male
Re: UpdateSession Update 0.4
Reply #26 - Jul 24th, 2006 at 10:04am
Print Post  
Hello Curtiss Grymala,

I want thank you for this mod. I have install a YaBB 2.1 testforum and install your mod there.

It's not what I search, but it is a simple way to reply to a post too Wink.

Thank you Smiley!

Bis dann...

Stephan
  

Erbarme Shocked. Zu spät, die Hesse komme Grin!
My YaBB-Version: YaBB 2.1 (10 - 22 h)
Back to top
WWWAIM  
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: UpdateSession Update 0.4
Reply #27 - Jul 25th, 2006 at 6:09am
Print Post  
Have a new problem/bug with your mod!

If i update my session an choose the board-index as target i only get a empty page with the url: YaBB.cgi?action=revalidatesession2

if the boardindex was my last position and i choose "last position" as target i get a url like:
http://www.4u-treff.de/cgi-bin/yabb2/YaBB.cgi?http://www.4u-treff.de/cgi-bin/yab...
(my standard-yabb-url is YaBB.cgi!)

If i choose the other targets it's working!

Larian
« Last Edit: Jul 25th, 2006 at 8:03am by Larian »  
Back to top
 
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: UpdateSession Update 0.5
Reply #28 - Jul 27th, 2006 at 2:05am
Print Post  
Larian wrote on Jul 25th, 2006 at 6:09am:
Have a new problem/bug with your mod!

If i update my session an choose the board-index as target i only get a empty page with the url: YaBB.cgi?action=revalidatesession2


Okie dokie - I have fixed this problem, and added the German translation.

Quote:
if the boardindex was my last position and i choose "last position" as target i get a url like:
http://www.4u-treff.de/cgi-bin/yabb2/YaBB.cgi?http://www.4u-treff.de/cgi-bin/yab...
(my standard-yabb-url is YaBB.cgi!)

If i choose the other targets it's working!


I'm really not sure what could be causing this problem.  I'll try to take a deeper look at it this weekend.

For now, though, I've released v0.5 with the first bug fixed, and the German translation.
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: UpdateSession Update 0.5
Reply #29 - Jul 27th, 2006 at 8:37am
Print Post  
Quote:
I'm really not sure what could be causing this problem.  I'll try to take a deeper look at it this weekend.


No problem, it has time, in spite of this queer URL its showing the right page Smiley

Thanks for the fix!

Larian
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint