Welcome, Guest. Please Login or Register.
November 27, 2024, 02:38:00 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.x & 1.4.1] Application Mod « previous next »
Pages: 1 ... 5 6 [7] 8 9 ... 11 Reply Ignore Print
Author Topic: [Done 1.5.x & 1.4.1] Application Mod  (Read 88123 times)
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #90 on: April 16, 2003, 09:03:39 AM »
Reply with quote

fixed it:
open Admin.php, search for      <td><b>' . $txt['apply18'] . '</b>: $time<br />
         <b>' . $txt[512] . '</b>: ' . $row['IP'] . '<br />
         <b>' . $txt[72] . '</b>:$row[message]</td>
replace with      <td><b>' . $txt['apply18'] . '</b>: ' . $time . '<br />
         <b>' . $txt[512] . '</b>: ' . $row['IP'] . '<br />
         <b>' . $txt[72] . '</b>: ' . $row['message'] . '</td>

it was using heredoc before (echo <<<EOT) in ver 1.4.1
and when converting to echo with single quote, some of the vars hasn't been parsed properly cuz they're inside single quote :P
i've released v1.2b with that small fix
u can uninstall 1.2a and install 1.2b or apply the small fix above
should be quick if using boardmod ;)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Overseer
Sr. Member
****
Posts: 455


Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #91 on: April 16, 2003, 09:08:02 AM »
Reply with quote

cool thx  ;D

(i did actually just work the 'message' one out.. but not the time one.... i dont know php.. but i'mma C programer by day :))
« Last Edit: April 16, 2003, 09:10:35 AM by Overseer » Logged

I learned that from the G's, a G is an Overseer, the Overseer sees.
More than you do 'cause he gets experienced - Snoop on Daz's OG

Supreme exalted, universal leader, Descendent of the kings and queens, the Overseer
The overlord, cream of the crop, creme de la creme - Gang Starr  Royalty
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #92 on: April 16, 2003, 09:14:45 AM »
Reply with quote

if you already know C, it will be easy to learn PHP :)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Overseer
Sr. Member
****
Posts: 455


Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #93 on: April 16, 2003, 09:18:35 AM »
Reply with quote

yeah it looks pretty simple.. i also know x86 asm, C++, Pascal... various scripting languages etc etc  :)
These days i'm mostly writing NT and WDM drivers.
Logged

I learned that from the G's, a G is an Overseer, the Overseer sees.
More than you do 'cause he gets experienced - Snoop on Daz's OG

Supreme exalted, universal leader, Descendent of the kings and queens, the Overseer
The overlord, cream of the crop, creme de la creme - Gang Starr  Royalty
stitch
Noobie
*
Posts: 20


I'm a llama!

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #94 on: April 17, 2003, 01:40:22 AM »
Reply with quote

Thanks a million, haven't tried it but will over the long weekend
Logged
stitch
Noobie
*
Posts: 20


I'm a llama!

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #95 on: April 17, 2003, 10:46:10 AM »
Reply with quote

Hi ok tried applying it however I can't find the the lines in Admin.php to chane and the new mod file gets itself stuck on Step 8
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #96 on: April 17, 2003, 10:57:38 AM »
Reply with quote

which YSE version are u using?
make sure u downloaded the correct version of the mod, according to your yse version
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
stitch
Noobie
*
Posts: 20


I'm a llama!

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #97 on: April 18, 2003, 01:53:18 AM »
Reply with quote

I'm using 1.5.1 and I downloded that file and I still get an error on step 8
« Last Edit: April 18, 2003, 02:55:49 AM by stitch » Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #98 on: April 18, 2003, 03:09:04 AM »
Reply with quote

have u installed the previous version, if u have, uninstall it first

have u installed any mods that changed these 2 lines in index.php?
      'register' => array("$sourcedir/Register.php", 'Register'),
      'register2' => array("$sourcedir/Register.php", 'Register2'),

that's the 8th step
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
stitch
Noobie
*
Posts: 20


I'm a llama!

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #99 on: April 18, 2003, 03:13:37 AM »
Reply with quote

I had a look at the th step and checked it out and nope I've actually installed the board fresh again to ty and add the supermod (which isn't owrking)

Everything seems ok in the file
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #100 on: April 18, 2003, 03:22:34 AM »
Reply with quote

i don't know if this will work with supermod or not
you can try to open index.php and find 'register' and 'register2'
then copy those 2 lines and put them in the .mod file to replace the ones i copied above, then try to run the mod again

or u can try deleting step 8 with the mod editor and do that part manualy
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
stitch
Noobie
*
Posts: 20


I'm a llama!

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #101 on: April 18, 2003, 04:02:04 AM »
Reply with quote

OK

I'vea applied Supermod, when I do this Step 6 doesn't worj but allothers do... I took out step 6 and the mod applies fine, then I make the manual changes.  Everything in step 6 is cahnged fine, except this:


<edit file>
index.php
</edit file>

<search for>
      if (!(($action == 'login') || ($action == 'login2') || ($action == 'register') || ($action == 'register2') || ($action == 'reminder')))
</search for>

<replace>
      if (!(($action == 'login') || ($action == 'login2') || ($action == 'register') || ($action == 'apply') || ($action == 'reminder')))
</replace>


When I search for it in index.php it can't find it...  What do you suggest, I've currently saved the index file elsewhere so no to screw up the proper index file in the event this doesn't work as Ic an easierly uninstall the other modded files using boarmod...

« Last Edit: April 18, 2003, 01:20:07 PM by stitch » Logged
stitch
Noobie
*
Posts: 20


I'm a llama!

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #102 on: April 20, 2003, 01:31:00 PM »
Reply with quote

I still require help on this as per my above post and someone helping me allowing Global Mods having access to this as well
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #103 on: April 20, 2003, 04:02:02 PM »
Reply with quote

Quote from: stitch on April 20, 2003, 01:31:00 PM
I still require help on this as per my above post and someone helping me allowing Global Mods having access to this as well

you'll have to move the functions in Admin.php to a new file
and make validation for Admin & global mod
i might mod that, but won't be on top of my list
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
stitch
Noobie
*
Posts: 20


I'm a llama!

Re:[Done 1.5.1 & 1.4.1] Application Mod
« Reply #104 on: April 21, 2003, 04:14:12 AM »
Reply with quote

If you could do that Mr Spiff, would be much appreciated!!!

Can you help me with the other problem I am haveing per my last or 2nd last post?
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 11 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.x & 1.4.1] Application Mod « 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.083 seconds with 20 queries.