this mod is available at http://www.indexuhelp.com
this mod is available at http://www.indexuhelp.com
Last edited by esm; 08-27-2003 at 10:05 AM.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
to use the "forgot your password feature" you will need to do the following:
in modify_select.html add:
just before the ShowFormLoginPwd function in the send_pwd.php file add the following:Code:( <a class=lblack href="send_pwd.php?pflag=lp">forgot your password</a>? )
Code:function ShowLinkId() { // vars global configuration global $theme_path; // vars url & form // vars messages global $msg; // vars template global $error_msg, $lid; DisplayTemplate($theme_path."show_id_pwd_form.html", "\$error_msg,\$lid"); }
then in the main section change the following
Code:if (empty($pflag)) { ShowFormLoginPwd(); } elseif($pflag=='login_pwd') { ProcessFormLoginPwd(); } elseif($pflag=='lp') { ShowLinkId(); } elseif($pflag=='sp') { SendLinkPwd(); }
Last edited by esm; 09-05-2003 at 04:27 PM.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
Has anyone tried this mod yet on a full version of indexu ?
BEfore I attempt it I wanted to check first.
But I agree the information to modify a listing should NOT be available to just anyybody.
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
Well I tried to do this mod but for the life of me can not find link.lib.php . What directory is this supposed to be in ?
thanks again,
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
as I said, all MODs need thorough testing by users...![]()
I corrected it to link.class.php. I have a dyslexic keyboard.
![]()
As you will learn, most of the general functions for INDEXU are in the files in the lib folder.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
I tried and started the mod but even so could not macth the coding since it appears maybe your code is modded diferent then a stock version of the licensed version ?
Anyways for now this is all moot until I can get Dody or you or someone to figure out why I can't add to my links unless I do it manualy.
As well when I try and run something from the control panel I now get an error like this:
Warning: fopen(/home/users/l/lewisw/public_html/indexu/application.php) [function.fopen]: failed to create stream: Permission denied in /home/users/l/lewisw/public_html/indexu/admin/app_setup.php on line 178
Warning: fwrite(): supplied argument is not a valid stream resource in /home/users/l/lewisw/public_html/indexu/admin/app_setup.php on line 190
and nothing gets changed.
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
did you get your site running...? I did not see any errors?
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
what parts of the mod do not match???Originally posted by lewisw
I tried and started the mod but even so could not macth the coding since it appears maybe your code is modded diferent then a stock version of the licensed version ?
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
Esm,
The errors are in Admin Control Panel.
Since you have access to it just go to admin cp and click on settings.
Then try and change for example day new flag from 7 to 14
and hit "change application settings" button and you will see the error and the settings do not change.
best
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
this error is not related to the password modOriginally posted by lewisw
Warning: fopen(/home/users/l/lewisw/public_html/indexu/application.php) [function.fopen]: failed to create stream: Permission denied in /home/users/l/lewisw/public_html/indexu/admin/app_setup.php on line 178
Warning: fwrite(): supplied argument is not a valid stream resource in /home/users/l/lewisw/public_html/indexu/admin/app_setup.php on line 190
you probably uploaded the application.php and forgot to CHMOD it to 666. line 178 is trying to open it for write (+w)
I CHMODed it to 666 and it is OK
when I try to run the sql statement for the new links from the index.php file, I get the following error:
you may need to ask your host why you get the error 28Code:MySQL said: Got error 28 from table handler. Query: select distinct * from idx_link where suspended = 0 order by date desc, last_updated desc limit 10
strangely enough, when I remove the word "distinct" form the above SELECT statement, it runs OK.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
Esm,
Is the last thing you said the reason why the last links added do not display on the index.html page ?
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
just out of curiosity where are these new links that are bheing submitted going ? I just had 3 last night that I need to add manualy this morning
Are they actualy in the mysql database or once submitted and I receive the e-mail notification they are deleted ?
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
Also Dody concerning the problem Esm explained to you in better technical terms then I ever could I also found out the following DOES NOT work either to validate a link.
Fo example I made Lewis the editor of two categorys.
Editor Menu
Validate Links
Search/Edit/Remove Links
Write/Edit/Delete Official Review
Validate Reviews
View Broken Link Report
You're an editor for the following category:
About com
Mind Body Fitness
Now even though there were links submitted to the Mind Body Fitness category when I click on my menu option "Validate Links"
their are none to be validated.
Please let me know as soon as you can figure this out Dody.
Thanks so much Lewis
Best
Lewis
www.AtoZfitness.com/indexu
I changed the wording on the modify_select to say replace instead of change. It seemed more appropriate.Originally posted by lewisw
I tried and started the mod but even so could not macth the coding since it appears maybe your code is modded diferent then a stock version of the licensed version ?
I commented in another thread that "applying a hack takes a knack" which tjoerg adopted as his signature line. Many times it takes "reading between the lines" particualarly when it comes to certain html code ( tables, colors, size, etc ) but sometimes even the guts of the code because either you or I have made a MOD to the original code.
I have applied hundreds of hacks and created just about as many. some were straightforward; some were very complicated. with some hacks I did the best I could in applying them and hoped they worked when I finished.
thus, the phrase "applying a hack takes a knack."
Do the best you can and when you get to a point that you can't go any further, post a msg and let us know where that point is...
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
Okay I am coming to a standstill with the system until Dody can figure out what is wrong.
The problems I e-mailed him about are:
1.New links not being added to the database.
2.New links added to the system are no longer displayed via the front page new links section.
As much as I love this new portal ten times more then the links 2 system I can not feasably manualy add all links submitted as sometimes I get 20 in a day.
A great Sunday to all.
Lewis
Best
Lewis
www.AtoZfitness.com/indexu