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.

#876 Re: Open Discussion » Symtab » 2011-05-20 14:55:02

this is true .... Although only offers really great help! Thank from me to.
nice thing "Pikeypete"

#877 Re: Development » new pages add » 2011-05-20 13:02:10

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

#878 Re: Development » new pages add » 2011-05-19 19:58:15

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

#882 Development » new pages add » 2011-05-19 11:16:11

thiva7
Replies: 14

maybe posted again but have many topic here and i dont have time to look up.

how i can i add new page??

#883 Bug Reports » keezmovies mass embed » 2011-05-18 18:53:57

thiva7
Replies: 1

when i use mass embed with keezmovies link first videos have thumb but the last 30 videos not have thumb

#884 Re: Troubleshooting » code » 2011-05-18 18:51:01

no change smile


dont spent time for this im ok with this.

when u relase stable version add it if you want !!!

#885 Re: Troubleshooting » code » 2011-05-18 18:07:12

done...look up how is show it now smile

#886 Re: Troubleshooting » code » 2011-05-18 15:28:29

thank you adrian....i just add more share codes for photos

here is my demo

http://www.xporn4u.com/photo/2/


THANK YOU

#887 Re: Feature Requests » FTP account » 2011-05-18 15:11:06

ok man no problem....i just ask smile

#888 Troubleshooting » code » 2011-05-18 14:46:39

thiva7
Replies: 6

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,'/'; ?>" /> )

#889 Re: Feature Requests » FTP account » 2011-05-18 13:35:10

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 tongue

#890 Re: Feature Requests » FTP account » 2011-05-18 12:00:33

MS_DA wrote:

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

#891 Development » modarator » 2011-05-18 02:33:35

thiva7
Replies: 1

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

#892 Re: Feature Requests » FTP account » 2011-05-17 18:15:35

sad that was good and easy upload way for users hmm

#893 Feature Requests » FTP account » 2011-05-17 18:05:02

thiva7
Replies: 9

can be add to auto creating FTP account for user to uploading videos?


they will be much more faster video uploads for users

#894 Re: Open Discussion » clickable embed player » 2011-05-17 13:50:55

i use embed code from my hosted videos in semple html to test it and is not clickable!!!

#895 Re: Troubleshooting » redirect » 2011-05-17 13:49:32

realy?? so what code i should use?

#896 Open Discussion » clickable embed player » 2011-05-17 12:36:05

thiva7
Replies: 3

how i can make when some one embed one of my video this video to be clickable embed player??

#897 Re: Troubleshooting » redirect » 2011-05-17 11:21:52

symtab wrote:

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!

#898 Re: Troubleshooting » redirect » 2011-05-16 20:38:52

yes i want for now to be able crawl my old site.

#899 Re: Troubleshooting » redirect » 2011-05-16 20:34:35

yes....yes i want to only redirect all pages to index.html

#900 Re: Troubleshooting » redirect » 2011-05-16 20:31:04

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

Board footer

Powered by FluxBB