Welcome, Guest. Please Login or Register.
May 10, 2025, 09:32:53 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  action=register2 « previous next »
Pages: [1] Reply Ignore Print
Author Topic: action=register2  (Read 560 times)
slowmoder
Noobie
*
Posts: 3


I'm a llama!

action=register2
« on: January 20, 2003, 08:32:28 PM »
Reply with quote

Hi I am trying to mod the text displayed when the board is set to email the password, index.php?board=;action=register2 is the url string. I can not find the text in register.php. Does anyone know where this text is located to be modified?
Logged
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:action=register2
« Reply #1 on: January 20, 2003, 08:51:42 PM »
Reply with quote

index.php will have the list of what page gets included and what function is called when action=register2 is encountered.  Start by searching index.php for register2 and then follow it from there.

Ulitmately though, the text will likely be in the language file... the trick is to find where it is displayed and find out what its variable name is inside the language file.

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
slowmoder
Noobie
*
Posts: 3


I'm a llama!

Re:action=register2
« Reply #2 on: January 20, 2003, 08:57:34 PM »
Reply with quote

Thank you it was in the lanuage file. I always forget those actually have text in them, always think of them as converters. I had tried following index.php for it too but couldnt find it that way either. I knew where it was listed in both but couldnt figure the text out.
Logged
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:action=register2
« Reply #3 on: January 20, 2003, 09:56:48 PM »
Reply with quote

Here is a small snippet of code from my index.php arouns line 220:
else if( $fastfind == 'r' ) {
   if ($action == 'register') { include_once "$sourcedir/Register.php"; Register(); }
   else if ($action == 'register2') { include_once "$sourcedir/Register.php"; Register2(); }
   else if ($action == 'removethread2') { include_once "$sourcedir/RemoveThread.php"; RemoveThread2(); }
   else if ($action == 'recent') { include_once "$sourcedir/Recent.php"; RecentPosts(); }

This would tell me that I need to look into Register.php for the function Register2().

From there you should have been able to find the location of the text you wanted.  Its not the easiest thing in the world... but not too bad once you get the hang of it.

Glad to see you got it sorted out thought...

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  action=register2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.225 seconds with 21 queries.