Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
gbhughs
Regular
Regular



Joined: Sep 11, 2004
Posts: 84

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

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: 17088

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

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
montego
Site Admin



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

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

gbhughs, which version of GT are you using?

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
gbhughs







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

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

News: Version 2.02.00 released 01/10/2006!
 
Raven







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

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.
 
gbhughs







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

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.
 
Raven







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

As with all addons, you have to write the GT code.
 
montego







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

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
 
gbhughs







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

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.
 
Raven







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

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.
 
gbhughs







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

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.
 
Raven







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

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?
 
gbhughs







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

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.
 
montego







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

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.
 
gbhughs







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

Sounds Great!

I even skipped lunch in preparation of this feast!

Groovy
 
gbhughs







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

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!?
 
montego







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

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.
 
montego







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

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_-]*) metauthors.html#$1 [L]

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

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

Embarassed Bang Head
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©