Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - a4evermedia

Pages: 1 2 3 ... 8
1
TgpX(SE) Discussion / Re: PHP includes tag
« on: January 17, 2014, 09:21:50 AM »
Great!  Glad you got it working for you.

2
Nice page, Zug!

3
TgpX(SE) Discussion / Re: PHP includes tag
« on: January 14, 2014, 05:42:16 AM »
It occurs to me that there is a command that will allow your PHP code to be interpreted literally.  That would allow your script to be run on page refreshes.


{literal}
<?PHP

YOUR PHP CODE

?>
{/literal}

Use the {literal} function to prevent template parsing from occurring within a section of template code. Every {literal} tag must be paired with a closing {/literal} tag. All of the HTML code contained with the {literal} and {/literal} tags will not be parsed as template code. This is useful, for example, if you want to use some JavaScript code on your page but need the template parser to ignore the { and } characters contained within that code.

I believe that you should use the standard <?PHP and ?> tags within this literal function.

4
TgpX(SE) Discussion / Re: PHP includes tag
« on: January 13, 2014, 09:52:48 PM »
When used within TGPX, the 'echo' command writes html to the page only when the page is rebuilt, not on refresh.  There are other PHP scripts that will do what you want to do, which is to write new banner code on refresh, you just have to look around.

Good Luck!

5
TgpX(SE) Discussion / Re: PHP includes tag
« on: January 12, 2014, 11:07:43 PM »
does your PHP script use the 'echo' command?

6
TubeX Discussion / Re: Parse Error foreach sponsor
« on: December 10, 2013, 10:35:55 PM »
Lets keep the post for future reference.  Please modify/update/correct the post with the working code in case anyone else is interested in performing the same or similar function!   ;)

7
TgpX(SE) Discussion / Re: Dead Links
« on: December 01, 2013, 06:20:29 AM »
Well, if you are referring to your gallery links you can go to Galleries >> Gallery Scanner, click the green plus sign at the top right corner and scroll down to the Actions menu to configure a scan that will disable or delete your dead links all at once.

Remember you can always click the Question Mark in the top right corner of almost every menu to view detailed info about menu options!

Thanks for joining the Forum!

8
TgpX(SE) Discussion / Re: Create a TUBE site driven by TGPX data
« on: November 21, 2013, 10:48:28 AM »
1. Yes, create the _cache directory yourself.  This is where the cached player.php pages are stored for the indivual video clips.  Very efficient and reduces the already low server load.

2-3.  What I acutually do most of the time is to export the appropriate (amateur black homemade) video clips from my TubeX installation, to include the clip URL and thumbnail, I then import this info into TGPX database.  To clarify, I enter the clips into my TUBEX installation then export the data to a text file which I then import into my TGPX installation.   That is what I do most often.  But the info can be entered individually as well of course.  Meaning that I sometimes upload a clip thumbnail thru the TGPX admin interface and in the gallery field I enter the link to the player.php with the appropriate ID parameter.

i.e., http://www.phatblaxxx.com/videos/player.php    note: this generates an error which calls video_error.php!

i.e., http://www.phatblaxxx.com/videos/player.php?d=16748

I dont do it this way often because you dont know what the ID is until after you enter the info, but it works.

The big Bonus is that the clips can appear on your other TGPX sites if they fit into the category of the page!

I prefer importing from my TUBEX install because not only is it quick, easy and efficient - the TUBEX link serves as my "gallery URL" in TGPX!

For instance, these two pages are served by the same clip URL:

http://sexworldtube.com/video/2130/

http://www.phatblaxxx.com/videos/player.php?d=1172

This is the code for exporting my TUBEX clips to be imported into TGPX:
Code: [Select]
{videos
var=$videos
amount=2000
username=PhatBlaXXX
paginate=false
pagination=$pagination
sort=date_added DESC}

{foreach var=$video from=$videos}
      {category var=$category id=$video.category_id}
      {clips var=$clips videoid=$video.video_id}
      {assign var=$clip code=$clips[0]}
      http://sexworldtube.com/video/{$video.video_id}/|6|{$video.title}|Homemade,Amateur,Webcams,Ebony,{$category.name}|{$video.tags}|http://www.sexworldtube.com{$video.thumbnail}|200x200|{$clip.clip}|phatblax<br/>
{/foreach}

I include the TAG 'phatblax' because that is my TAG ID for indicating that this is a clip to be displayed on the PhatBlaXXX site.

This makes it easy for me because on my SexWorldTube site user PhatBlaxxx contains the appropriate clips for the PhatBlaXXX site!

9
TgpX(SE) Discussion / Re: Create a TUBE site driven by TGPX data
« on: November 20, 2013, 03:38:06 PM »
PM sent

10
TgpX(SE) Discussion / Re: Create a TUBE site driven by TGPX data
« on: November 20, 2013, 10:17:14 AM »
OK Dred, let's see if I can help you get this working!  :)

I try to keep the index template simple, using as few tables as possible.  I try to use CSS for everything.

The variables.php file contains your database login info.  You must create it and place it in a secure directory.  I placed it in the 'cgi-bin/includes' directory for security.  It should look something like this:

Code: [Select]
<?php
$username="tgpx_database_username";
$password="tgpx_database_password";
$database="tgpx_database_name";
?>

The video_error.php files are in the same directory as the variables.php file.   These files are necessary to make sure that the proper parameters are passed to the player.php script that is used to play the individual scripts.  There are examples posted earlier in this discussion.  In normal use the visitor will not see the errors pages because TGPX template will only create legitimate values for the player.php program.  But if someone tries to type in invalid entries the error checking in player.php will catch them.   I will PM you the raw code later on today since I don't have to worry about you hacking into the site :) 

As far as stripping out the the video_error checks, you can do that but player.php will break if someone enters invalid info; which is only a problem for someone trying to hack your site :)

Please PM me your direct email address.

a4ever

11
TubeX Discussion / Re: Tags
« on: November 18, 2013, 02:31:21 PM »

12
Older Scripts / Re: auto gallery sql
« on: November 18, 2013, 02:23:28 PM »
Or you can upgrade to the open source TGPX

13
TgpX(SE) Discussion / Re: Create a TUBE site driven by TGPX data
« on: November 16, 2013, 06:42:39 PM »
The main dislpay or 'landing' is a standard TGPX build with a thumbnail uploaded by the user and the link for calling the player.php script (Step 4).  The only tricky part may be tweaking the code for the player.php page which will depend on the flash player you are using (Step 3).

14
TgpX(SE) Discussion / Re: Create a TUBE site driven by TGPX data
« on: November 15, 2013, 08:21:23 PM »
Hey Dred

I am using the TGPX database with an extra field added which contains the URL of the clip to be played.

15
General Discussion / Re: Hello
« on: October 23, 2013, 03:24:36 AM »
Welcome Timlover!!

Pages: 1 2 3 ... 8