PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Mon Mar 13, 2006 2:05 am Reply with quote Back to top

My articles and authors page is not converting the article links to html.

Is there a rewrite code I am missing for this mod?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Mon Mar 13, 2006 2:44 am Reply with quote Back to top

There is no GT code at all in RavenNuke76 so if you want the links converted then you will need to do it yourself. We are looking at possibly adding that in v2.10.00.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Mon Mar 13, 2006 9:17 am Reply with quote Back to top

gbhughs, which version of GT are you using?
View user's profile Send private message Visit poster's website
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Mon Mar 13, 2006 11:53 am Reply with quote Back to top

I am using this version..........

News: Version 2.02.00 released 01/10/2006!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Mon Mar 13, 2006 11:55 am Reply with quote Back to top

gbhughs wrote:
I am using this version..........

News: Version 2.02.00 released 01/10/2006!

GT is NOT included in 2.02.00. GT is a separate addon that you install and maintain.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Mon Mar 13, 2006 12:19 pm Reply with quote Back to top

Raven wrote:

GT is NOT included in 2.02.00. GT is a separate addon that you install and maintain.


I understand that you guys have nothing to do with GT and that possibly I need to add the rewrites myself.

I guess my question is kinda vague.

I dont understand when I have rewrites wrote for the news section and they work all over the site, why wouldnt they work on this section? (rwsAuthors)

Is it because I need to make a code in .htaccess to rewrite it for rwsAuthors?

Or do I have a glitch somewhere.

I know in your rwsAuthors mod. it works. Just wondered if you had to write the code or if you just used the .htaccess code in the GT package.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Mon Mar 13, 2006 12:42 pm Reply with quote Back to top

As with all addons, you have to write the GT code.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Mon Mar 13, 2006 1:42 pm Reply with quote Back to top

gbhughs, what I was asking for is what version of Google Tap (GT) that you are using? Is it one of the GT-NextGEn beta versions? If so, I was going to "cook you up" a GT file for it... Wink
View user's profile Send private message Visit poster's website
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Mon Mar 13, 2006 2:06 pm Reply with quote Back to top

I actually found the fix montego........

I went into the index.php file for rwsMetAuthors and changed a few lines.......

For the authors I found this code:
Quote:
modules.php?name=Your_Account&op=userinfo&username=$row[informant]


And replaced it with this code:
Quote:
article$row[sid].html


For the News & or Articles I found this code:
Quote:
modules.php?name=News&file=article&sid=".$row[sid].


And replaced it with this code:
Quote:
article$row[sid].html


I dont know if this way will give me problems, but it works.

Mr. Green

I am using GT-NExtGeN_Beta_0.4 montego if you think using the .htaccess would be a better way to go.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Mon Mar 13, 2006 3:07 pm Reply with quote Back to top

You should not be hard coding those links. The moment an update is issued you're back in the same spot. You should use the GT method instead.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Mon Mar 13, 2006 4:54 pm Reply with quote Back to top

Good Point Raven

Thanks for Smack into me........

So then montego, what have you cooked up for me?
I am very hungry today.

Hey Raven I just noticed you are in Kansas.

Where at?

I'm in the KC metro area neighbor.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Mon Mar 13, 2006 9:51 pm Reply with quote Back to top

gbhughs wrote:
Hey Raven I just noticed you are in Kansas.

Where at?

I'm in the KC metro area neighbor.

No kidding? I'm in Overland Park (Stanley). Where are you?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Mon Mar 13, 2006 11:34 pm Reply with quote Back to top

No Kidding......

Blue Springs here........

I see you made it through all the storms then huh?

What a day yesterday, and then what a difference today.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Tue Mar 14, 2006 6:12 am Reply with quote Back to top

gbhughs, I'll cook you up a nice medely of "shortened URLs", followed by a wonderful AND essential, "rewrite dessert". Sound good?

This wonderful meal will take me a day or so to get to... sorry, a little backed up, but I see you're up and running for now.
View user's profile Send private message Visit poster's website
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Tue Mar 14, 2006 6:17 pm Reply with quote Back to top

Sounds Great!

I even skipped lunch in preparation of this feast!

Groovy
View user's profile Send private message
gbhughs
Regular
Regular


Joined: Sep 11, 2004
Posts: 84

PostPosted: Fri Mar 17, 2006 12:29 pm Reply with quote Back to top

Man its been 3 days and I haven't eaten............
The dancing banana is starting to turn brown......

HitsFan

(just kidding)

Let me know where your at montego, and I have some questions for you about the html newsletter program. Maybe you could just shoot me a pm!?
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Fri Mar 17, 2006 6:45 pm Reply with quote Back to top

Sorry about that. Been busy with RavenNuke76 2.02.02 patch release and other things... also had to release a patch for HNL. I'll try and get to the GT stuff this weekend.

Regarding your HTML Newsetter questions, do not hesitate to ask me in the forums at my site or PM me there.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Sun Mar 19, 2006 5:36 pm Reply with quote Back to top

Ok, unfortunately, I could not get this module to show up in my modules list no matter how hard I tried! I have no idea what is going on. I have tried all the "usual characters" and nothing... so, long story short, this is going to have to be "as-is" and is not tested.

You may have to tweak it some. All but the rwsMetAuthors links should already have corresponding GT rewrite statements in your .htaccess if you implemented the full GT-NExtGEn.

=== CREATE NEW FILE in your GoogleTap directory called ===

GT-rwsMetAuthors.php

=== This is what it should look like ===

Hopefully...

Code:

<?php

$urlin = array(
"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)'",
"'(?<!/)modules.php\?name=Submit_News'",
"'(?<!/)modules.php\?name=Web_Links&amp;file=index&amp;l_op=(AddLink)'",
"'(?<!/)modules.php\?name=Reviews&amp;rop=write_review'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=rwsMetAuthors#([a-zA-Z0-9_-]*)'"
);

$urlout = array(
"article\\1.html",
"submit.html",
"linkop-\\1.html",
"reviews-new.html",
"userinfo-\\1.html",
"metauthors.html#\\1"
);

?>


=== OPEN FILE ===

.htaccess

=== ADD These lines somewhere in your re-write section for other GTs ===

#rwsMetAuthors
RewriteRule ^metauthors.html#([a-zA-Z0-9_-]*) modules.php?name=rwsMetAuthors#$1 [L]

=====================

Now I remember why I stay out of the kitchen!!!

Embarassed Bang Head
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum