Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) [DONE] ByeBye SP 1.2 (Read 2967 times)
InchWorm
New Member
*
Offline


HI

Posts: 15
Location: Mukilteo
Joined: Feb 2nd, 2003
Gender: Male
[DONE] ByeBye SP 1.2
Feb 4th, 2003 at 8:29pm
Print Post  
Okay this is my first mod, so dont laugh. It's for SP1.2 and I felt like contributing...

With the ByeBye mod, admin's can set where users go and what they see on logout. Whether it's a simple good bye page, something in html, or auto forwarding to another page. Why have users go back to the board they just logged out of?

Test it out and let me know what you think!

« Last Edit: Feb 13th, 2003 at 3:24am by InchWorm »  
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: ByeBye SP 1.2
Reply #1 - Feb 4th, 2003 at 10:02pm
Print Post  
Nice idea. However you should know that there is no need for an "uninstall" version of your mod. BoardMod can uninstall a usual mod by internally reversing the mod steps. To uninstall a mod, you simply "uncheck" the checkbox for the mod you want to uninstall.

Also note that

Code
Select All
<replace>

</replace> 



is not allowed in mod files. Please take a look at the mod writing documentation: http://www.boardmod.org/docs/HowTo.html
  

The Administrator.
Back to top
WWW  
IP Logged
 
InchWorm
New Member
*
Offline


HI

Posts: 15
Location: Mukilteo
Joined: Feb 2nd, 2003
Gender: Male
Re: ByeBye SP 1.2
Reply #2 - Feb 4th, 2003 at 10:28pm
Print Post  
I must be screwing something up because my boardmod doesnt uninstall worth beans. But thats where the
Code
Select All
<replace>
</replace>
 


are, not problem... my uninstall is as good as gone. Thanks for the tip.
  
Back to top
WWW  
IP Logged
 
Ikari-Kun
God Member
*****
Offline



Posts: 501
Joined: Apr 25th, 2002
Gender: Male
Re: ByeBye SP 1.2
Reply #3 - Feb 5th, 2003 at 9:46am
Print Post  
If you replace a step with nothing, Boardmod can't find this line when you want to unistall ist. A better way would be

Code
Select All
<Replace>
#removed lines from my mod
</replace> 

  

perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Back to top
ICQ  
IP Logged
 
OldYaBBUser
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1838
Joined: Sep 30th, 2002
Gender: Male
Re: ByeBye SP 1.2
Reply #4 - Feb 8th, 2003 at 7:16pm
Print Post  
Nice mod. Works well. Thanks
  
Back to top
WWW  
IP Logged
 
InchWorm
New Member
*
Offline


HI

Posts: 15
Location: Mukilteo
Joined: Feb 2nd, 2003
Gender: Male
Re: [DONE] ByeBye SP 1.2
Reply #5 - Feb 13th, 2003 at 3:43am
Print Post  
It's little...it's chessy...it's done! Use the link at the top of this thread.

And while your there you can use the
user: test
pass: test

then logoff to see it in action!
  
Back to top
WWW  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: [DONE] ByeBye SP 1.2
Reply #6 - Mar 3rd, 2003 at 4:18pm
Print Post  
I can't use UBBC tag in the byebye field.
and in the mod file there was no $byebye{'103'}

Anyone has the update file of this mod please

Thanks
  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: [DONE] ByeBye SP 1.2
Reply #7 - Mar 3rd, 2003 at 5:12pm
Print Post  
And also if you used HTML tag you couldn't use ; character in the byebye field

for example if you use

Code
Select All
<META HTTP-EQUIV="refresh" content="1;URL=http://www.MySite.com/cgi-bin/yabb/YaBB.pl?action=viewprofile;username=admin">
 



The browser will read only

http://www.MySite.com/cgi-bin/yabb/YaBB.pl?action=viewprofile
  

   
Back to top
 
IP Logged
 
InchWorm
New Member
*
Offline


HI

Posts: 15
Location: Mukilteo
Joined: Feb 2nd, 2003
Gender: Male
Re: [DONE] ByeBye SP 1.2
Reply #8 - Mar 4th, 2003 at 4:22pm
Print Post  
Sorry about the missing $byebye{'103'}, thats fixed now.

I cant figure out why the ; doesnt work in a HTML tag, same with the UBBC's. It seems like it should, I guess I dont know enough, I'll keep working on it,

  
Back to top
WWW  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: [DONE] ByeBye SP 1.2
Reply #9 - Mar 4th, 2003 at 4:52pm
Print Post  
it might be from this line
Code
Select All
$yymain .= qq~$line~; 



Try to replace with
Code
Select All
$yymain .= qq~$line~g; 



and i think that theline in byebye.pl
Code
Select All
$sharedLogin_title="$txt{'114'}"; 



should be replace with
Code
Select All
$sharedLogin_title="$txt{'34'}"; 

  

   
Back to top
 
IP Logged
 
SarS
Guest


Re: [DONE] ByeBye SP 1.2
Reply #10 - Apr 3rd, 2003 at 4:06pm
Print Post  
@jake it doesn't work.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint