Author |
Message |
lultimo1
New Member
Joined: Mar 05, 2007
Posts: 4
|
Posted:
Mon Mar 05, 2007 8:41 am |
|
Hello everybody!
I just tried to use the hack for encyclopedia. everything during the installation went well, but now when i click on the addnewencyterm link i just obtain the same main page. users can't add terms!
see that HERE
can anyone help me finding the error please?
thnx |
|
|
|
|
jakec
Site Admin
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Mar 05, 2007 12:27 pm |
|
Sorry, from your post I'm not sure what the hack you are trying to apply actually does?
Can you post a link to where you got it from? |
|
|
|
|
lultimo1
|
Posted:
Mon Mar 05, 2007 2:02 pm |
|
sorry..it's my fault..
THIS HACKwill allow users to submit Terms in predefined Encyclopedias
on your PHP-Nuke 7.5+ patched 3.1+ website. The number of new Terms submitted by
users will then be seen in the admin's Waiting Content block. You
can either add the new Terms into your Encyclopedia or delete them
if not wanted. Updated abstraction layer and points given to users
that get their terms published.
I have 7.5 patched 3.3 |
|
|
|
|
lultimo1
|
Posted:
Tue Mar 20, 2007 8:44 am |
|
|
|
|
CodyG
Life Cycles Becoming CPU Cycles
Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island
|
Posted:
Tue Mar 20, 2007 9:46 am |
|
hmmm... I'm looking for the hack, in the download categories, but I'm not finding it. I searched for Enciclopedia and Encyclopedia in resource area and didn't find it.
It could be any number of issues.
As I can't find the archive from your link, I'm going to take a wild guess. db tables.. does the hack require editing or adding any tables? |
_________________ "We want to see if life is ubiquitous." D.Goldin |
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6433
|
Posted:
Tue Mar 20, 2007 10:15 am |
|
|
|
|
lultimo1
|
Posted:
Tue Mar 20, 2007 1:36 pm |
|
solved thanks
I had a stupid stupid problem...
since i'm using gtnexgen urls rewriting, the submitting url for terms had to be rewrited (encyclopedia.html?op=add_term instead of modules.php?name=Encyclopedia&op=add_term )and it was obviuosly wrong!
i solved turning off the url rewriting for encyclopedia module
I wanted to keep rewriting on but it seemed there was no way to make submission work
thnx anyway |
|
|
|
|
montego
Site Admin
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Mar 21, 2007 5:45 am |
|
lultimo1, if you wanted that tapped, this is how you might consider doing it:
in GT-Encyclopedia.php add to:
urlout:
'"(?<!/)modules.php\?name=Encyclopedia&op=add_term"'
urlin:
'encyclopedia-add-term.html'
.htaccess:
RewriteRule ^encyclopedia-add-term.html modules.php?name=Encyclopedia&fop=add_term [L]
Of course, I am assuming that you are using either GT-NExtGEn or TegoNuke(tm) ShortLinks (pay attention to how you place the urlout/in lines so that you do not introduce a parse error). |
_________________ Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... |
|
|
|
|