Author |
Message |
Mesum
Useless

Joined: Aug 23, 2002
Posts: 213
Location: Chicago
|
Posted:
Mon Dec 06, 2004 6:40 am |
|
Hello guys, I had a little convo with menelaos61 few days ago about my work on Your_Account and he asked me if I was able to make the changes in the module that I talked about few days ago.
Well here it is, the first add-on, admins can add, delete and edit TOS from YA admin panel.
DB is being called in lang-* files so it can be used with any language and admins will not loose anything when upgrading the module's versions.
I am sure there are way much better ways to do that but this is all I could come up with my "PHP For Dummies" book.
*EDITED* file link removed as they are outdated. |
Last edited by Mesum on Sun Feb 20, 2005 5:56 pm; edited 1 time in total |
|
|
 |
menelaos61
Worker


Joined: Nov 10, 2004
Posts: 110
|
Posted:
Mon Dec 06, 2004 10:24 am |
|
Thank you so much, mesum
I will check it out and probably (with your permission)
this will end up in the next version of CNB YA
Cheers,
Richard |
|
|
|
 |
Mesum

|
Posted:
Mon Dec 06, 2004 11:54 am |
|
|
|
 |
escudero
New Member


Joined: Oct 25, 2004
Posts: 9
|
Posted:
Mon Dec 06, 2004 9:39 pm |
|
Mesum,
Thanks very much for your colaboration. Of course that we will see to put in module. Working together we can grow much more.
You just forgot to put your credits in files. Is your work, and you can do it!
Bests regards,
André |
|
|
|
 |
Mesum

|
Posted:
Mon Dec 06, 2004 10:11 pm |
|
Thanks Andre but I didn't add the credits to the files because it needs to be tested and if found any bugs, fix it. Let's make a better product, Credits can be done at last. |
|
|
|
 |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Tue Dec 07, 2004 9:10 am |
|
|
 |
 |
menelaos61

|
Posted:
Tue Dec 07, 2004 11:04 am |
|
Thats funny,
I just found and fixed that one in the last 5 minutes
open /modules/Your_Account/public/ya_tos.php
FIND:Code:echo "<img src=\"modules/$module_name/images/warning.png\" align=\"left\" width=\"40\" height=\"40\"></td><td>"._YATOSINTRO1."\n";
|
CHANGE TO:Code:
echo "<img src=\"modules/$module_name/images/warning.png\" align=\"left\" width=\"40\" height=\"40\">"._YATOSINTRO1."\n";
|
Or: just remove thein that line
Have fun!
Cheers,
Richard |
|
|
|
 |
TheosEleos

|
Posted:
Tue Dec 07, 2004 12:22 pm |
|
ya_coppa.php needs this fix too.
Thanks for the help. |
|
|
|
 |
Mesum

|
Posted:
Tue Dec 07, 2004 8:08 pm |
|
So the error wasn't in my files, right? |
|
|
|
 |
menelaos61

|
Posted:
Wed Dec 08, 2004 3:42 am |
|
Not at all, mesum!
BTW. Your mod is really nice. I installed it and am working on further integrating it in cnbya to be included in the next version.
Thanks again.
Cheers,
Richard |
|
|
|
 |
Mesum

|
Posted:
Wed Dec 08, 2004 5:44 am |
|
I know many things were hard coded instead of global it and from what I understand, I am using the old PHP layers so things do need to change. |
|
|
|
 |
RsF-MadMax
New Member


Joined: Feb 20, 2005
Posts: 7
|
Posted:
Sun Feb 20, 2005 9:44 am |
|
Ok call me stupid, I've upload the files, ran the sql but nothing is showing up the ya admin panel.... |
|
|
|
 |
Mesum

|
Posted:
Sun Feb 20, 2005 5:55 pm |
|
If you have CNB YA final running then those files were not meant to be for this add-on, I had corrected many bugs since I posted this link. Please wait a few days so I can release this add-on for final version ones again. |
|
|
|
 |
menelaos61

|
Posted:
Sun Feb 20, 2005 5:59 pm |
|
Hi Mesum,
Your editable TOS will be in the next version of cnbya, which we will send out
to beta-testers in a week or so.
If you have changed or updated it drmatically please mail me your work
Thanks again for your efforts.
Cheers,
Richard |
|
|
|
 |
RsF-MadMax

|
Posted:
Sun Feb 20, 2005 7:24 pm |
|
I'm running the 4.4.0 b2 of cnbya....np though, it will wait. Just thought I must have been doing something wrong... |
|
|
|
 |
|