Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-09-04 21:51:50

quirkmedia
Member
From: Brampton,Ontario,Canada
Registered: 2012-05-21
Posts: 128
Website

Changing Pornstars to Channels

For the most part I have been able to change my pornstar section into a channel section to highlight my sponsors.

Everything seems to be working fine except for the url to my channel page is still http://fetishvideos.ca/pornstar/

I would like to change it to http://fetishvideos.ca/channels/


I am definitely not a coder and everything I try with regards to this seems to mess things up and I get page not found errors.


Can anyone guide me to doing this??


Please feel free to critique my site as well smile

Offline

#2 2012-09-04 23:15:03

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: Changing Pornstars to Channels

looks like a mod_rewrite RewriteRule...

Offline

#3 2012-09-05 07:49:34

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Changing Pornstars to Channels

There is no need to use mod_rewrite, because the script already handles that. You need to add a new module (please check the Documentation forum, there is a howto about this) named "channels". Once done copy the contents of modules/pornstar/ to modules/channels/. Edit all files in modules/channels/* and replace everything VModule_pornstar with VModule_channels and VComponent_pornstar_* with VComponent_channels_*. This should do the trick.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2012-09-05 15:04:37

quirkmedia
Member
From: Brampton,Ontario,Canada
Registered: 2012-05-21
Posts: 128
Website

Re: Changing Pornstars to Channels

thanks for you help !

I am working on the new module, I have created the new row in mysql and done all edits on all required pages

ie:
pornstars to channels
pornstar to channel

throughout all of the files


I can enable the new mod but it does not show in the admin menu, plus when i click on the config I get a Internal Serve Error as seen below...


http://fetishvideos.ca/admin/index.php?q=channel/config

Server error
The website encountered an error while retrieving http://fetishvideos.ca/admin/index.php?q=channel/config. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.


Any suggestions?? smile

Offline

#5 2012-09-06 12:27:09

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Changing Pornstars to Channels

That does not work. You need a separate module channels and a separate module channel in this case. In 1.2 you will be able to catch url blocks with the same module, but for this verion it work work. You enever use the channel module in admin, you use the pornstar module.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB