PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Wed May 19, 2004 4:12 am Reply with quote Back to top

Hi, Raven! After reading your suggestion here
Only registered users can see links on this board!
Get registered or login to the forums!


I created a new module. It is in fact a simple php file including an html page.

The question is: how can i GT this module so that instead of having a dynamic url (
Only registered users can see links on this board!
Get registered or login to the forums!
) I may have a static one (
Only registered users can see links on this board!
Get registered or login to the forums!
) ?
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles


Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed May 19, 2004 4:34 am Reply with quote Back to top

If its only 1 page, its very simple. You can just add a new entry to the .htaccess

Code:
#Chat
RewriteRule ^chat.html modules.php?name=Chat


Then in admin, go to modules, and edit chat module.

Preferred URL for GoogleTap: chat.html
View user's profile Send private message Visit poster's website
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Wed May 19, 2004 5:24 am Reply with quote Back to top

Thanks Ganja! Smile

GanjaUK wrote:
Then in admin, go to modules, and edit chat module.

Preferred URL for GoogleTap: chat.html


Confused Er.. what should I edit in admin?
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles


Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed May 19, 2004 5:29 am Reply with quote Back to top

When in Admin Modules, and you click edit next to your new module. Have you got a field called Preferred URL for GoogleTap: ? That's what you edit, by edit I mean type in chat.html and hit enter.
View user's profile Send private message Visit poster's website
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Wed May 19, 2004 5:33 am Reply with quote Back to top

GanjaUK wrote:
When in Admin Modules, and you click edit next to your new module. Have you got a field called Preferred URL for GoogleTap: ?


No, I don't have it... Sad
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles


Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed May 19, 2004 5:49 am Reply with quote Back to top

Did you upload admin/modules/modules.php
From the GT-NExtGeN_Beta_0.4 archive?

On my site, I have that field in my admin, I can change any of the modules .html names there, and then it is added to the url field in nuke_modules TABLE in the database. You could also do it through phpmyadmin.

mid title custom_title active view inmenu mod_group url
View user's profile Send private message Visit poster's website
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Wed May 19, 2004 6:09 am Reply with quote Back to top

GanjaUK wrote:
Did you upload admin/modules/modules.php
From the GT-NExtGeN_Beta_0.4 archive?


I haven't got NextGen, but the classical one Sad And it works quite well on my site. Is there a way to change manually some parameters without downloading the whole version?
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles


Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed May 19, 2004 6:16 am Reply with quote Back to top

Sorry, I have no idea.
I only started using googletap at GT-NExtGeN_Beta_0.4, I have no idea how older versions worked. If I had a copy of this "classical" one, I would take a look, but I dont.

Did you check your database for a url field like I said above?
View user's profile Send private message Visit poster's website
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Wed May 19, 2004 6:43 am Reply with quote Back to top

There is no such field in the previous GT versions (not NextGen). However I've just downloaded your version and I'm wondering if I can modify only what I need (the admin/modules/modules.php file and then add that field in my database).
Have you got any idea on this? Raven, Chat, what do you think?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Wed May 19, 2004 7:35 am Reply with quote Back to top

I haven't looked at GT for a while but assuming there are no major changes.
In htaccess (Like ganja wrote)
#Chat
RewriteRule ^chat.html modules.php?name=Chat

Then in header.php

$urlin =
array(
add this
"'(?<!/)modules.php\?name=Chat'",

$urlout = array(
add this
"chat.html",

Check for duplicate entries at one time Chat_Room was included in GT.
View user's profile Send private message
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Wed May 19, 2004 8:14 am Reply with quote Back to top

I thank you both, guys! Thanks to sixone's suggestions, the new urls perfectly work!! Smile
View user's profile Send private message
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Wed May 19, 2004 8:17 am Reply with quote Back to top

Are there any GT updates for the survey block too (or any other new block/module)?
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Wed May 19, 2004 8:23 am Reply with quote Back to top

As far as I know
Only registered users can see links on this board!
Get registered or login to the forums!
is still down.
That leaves checking the downloads for a newer version then you have and the forums around for user contributed ones

I don't know if the survey block was done just have take a peek I guess. Funny if its not though.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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