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.
this is true .... Although only offers really great help! Thank from me to.
nice thing "Pikeypete"
you say to add
modules/module-name/
modules/module-name/components/
modules/module-name/components/component-name.php
modules/module-name/helpers/
modules/module-name/module-name.php
templates/your-template/module-name.tpl.php
templates/your-template/module-name_component-name.tpl.php
i have
modules/helloworld/
modules/helloworld/components/
modules/helloworld/components/helloworld.php
modules/helloworld/helpers/
modules/helloworld/helloworld.php
templates/default-pink/helloworld.tpl.php
templates/default-pink/helloworld_helloworld.tpl.php
in this file
modules/helloworld/components/helloworld.php
i dont have nothing....is empty becuse here is not say something to add ( http://forum.adultscriptpro.com/viewtopic.php?id=167 )
here i have
modules/helloworld/helloworld.php
<?php
defined('_VALID') or die('Restricted Access!');
class VModule_helloworld
{
public function __construct()
{
}public function render()
{
// code here (if you want your module to do anything else except displaying the template)$tpl = VF::factory('template');
$tpl->menu = 'helloword'; // useful if you want the menu item for this module to be highlighted
$tpl->title = 'Title for this module will go here' // useful if you want your page to have a different title
$tpl->meta_desc = 'Meta Description for this module will go here' // useful if you want your page to have a different meta description
$tpl->meta_keys = 'Meta Keywords for this module will go here' // useful if you want your page to have different meta keywords
$tpl->css = array('url' => '/absolute/path/to/a/css/file.css'); // only useful if you want to load a separate css file for this module
$tpl->js = array('url' => '/absolute/path/to/a/js/file.js') // only useful if you want to load a separate js file for this module
$tpl->load(array('header', 'helloworld', 'footer'));
$tpl->display();
}
}
?>
here i have...
templates/default-pink/helloworld.tpl.php
<?php defined('_VALID') or die('Restricted Access!'); ?>
<div id="page">
// here you can add anything you want (html/php)
</div>
and this empty to
templates/default-pink/helloworld_helloworld.tpl.php
Parse error: syntax error, unexpected T_VARIABLE in /home/xporn4u/public_html/modules/helloworld/helloworld.php on line 16
Fatal error: Exception thrown without a stack frame in Unknown on line 0
yes its enable.
i create static page its ok
http://www.xporn4u.com/static/contact/
but its same for module to???
i do anything say here
maybe posted again but have many topic here and i dont have time to look up.
how i can i add new page??
when i use mass embed with keezmovies link first videos have thumb but the last 30 videos not have thumb
no change
dont spent time for this im ok with this.
when u relase stable version add it if you want !!!
done...look up how is show it now
thank you adrian....i just add more share codes for photos
here is my demo
http://www.xporn4u.com/photo/2/
THANK YOU
ok man no problem....i just ask
im trying to make some changes in photo links
with this code :
<input name="photo-link" type="text" class="link" value="<?php echo BASE_URL,'/media/photos/',$this->photo['photo_id'].jpg,'/'; ?>" />
i get this link
domain.com/media/photos/2jpg/
is not add ( . )
what is rong here
( photo['photo_id'].jpg,'/'; ?>" /> )
so ok i understund all that but so many service provide ftp account for users..thay dont have Security problem?
eg userporn have for affilate program ftp accont for user.their i get the idea
Your right thiva it´s quite easy for users to upload then but u also may not forget the ftp entry is a most dangerous one on a server. Bad successfully hacking attacks often start there.
Your right to MS_DA but i mean to gave access only to one folder to each user.like for us as admin we have this folder " public_html/tmp/uploads "
users can have " public_html/tmp/uploads/(username)"
without any other access. you thing that will be problem??
modarator user group how is work??/ i mean they have any panel to login and make "mods" ( video approve,user edit etc )
how is work??
that was good and easy upload way for users
can be add to auto creating FTP account for user to uploading videos?
they will be much more faster video uploads for users
i use embed code from my hosted videos in semple html to test it and is not clickable!!!
realy?? so what code i should use?
how i can make when some one embed one of my video this video to be clickable embed player??
Hmm...try this:
RewriteEngine on RewriteCond %{REQUEST_URI} !^/index.html RewriteRule ^(.*)$ /index.html [L,R=301]
There might be rules on your server though, that maybe affect the index.html redirect. Let me know if that works.
its ok this work for me for now. thank youuuuuu!
yes i want for now to be able crawl my old site.
yes....yes i want to only redirect all pages to index.html
AGAIN MAN.....i dont want to redirect celebsxvideo to xporn4u. with no way. i want to still crawl google my old site but when some one visit i want to redirect INDEX.HTML