Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 04-05-2018, 11:30 AM   #1
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Orchard Park, NY (current home of the lackluster Bills)
Posts: 37,384
Send a message via ICQ to Greenguy
Question TGPX Question

Before I spend an hour on trial & error....

The Sponsor field for galleries: it's not listed on the Common Template Variables page (docs/templates-common.html) but does anyone know if you can do this:
{$gallery.sponsor}
Where the Sponsor would show on the page with all the other gallery info/fields and if so, can you also set it up to link to that Sponsor?

Why am I asking? I was wondering if I could use this existing option as a Model database
__________________
Submit To The Porn Luv Network! | My Host Has Mojo!
Greenguy is online now   Reply With Quote
Old 04-05-2018, 12:01 PM   #2
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,721
Send a message via ICQ to Toby
I just tested it, {$gallery.sponsor} in the template does display the sponsor name.

Another option, you can create user defined fields, for example model_name, then display that value using {$gallery.model_name}
Toby is offline   Reply With Quote
Old 04-05-2018, 03:10 PM   #3
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Orchard Park, NY (current home of the lackluster Bills)
Posts: 37,384
Send a message via ICQ to Greenguy
Can you also set up links to the sponsors or the individual user defined fields?
__________________
Submit To The Porn Luv Network! | My Host Has Mojo!
Greenguy is online now   Reply With Quote
Old 04-05-2018, 04:48 PM   #4
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Orchard Park, NY (current home of the lackluster Bills)
Posts: 37,384
Send a message via ICQ to Greenguy
Fuck! Since it'd be for a model, I'd need 2 links to be associated with each: 1 to her page on my site & 1 to her official website (if she has one).

Still basically brainstorming ideas for a new LOR admin.
__________________
Submit To The Porn Luv Network! | My Host Has Mojo!
Greenguy is online now   Reply With Quote
Old 04-05-2018, 06:18 PM   #5
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,721
Send a message via ICQ to Toby
You can add more than one user defined field.
Toby is offline   Reply With Quote
Old 04-05-2018, 09:47 PM   #6
sarettah
Just because I don't care doesn't mean I don't understand!
 
Join Date: Apr 2005
Posts: 95
I was looking at TGPX today. Found a version at git that was updated to PHP 5.5 but still was using the mysql libraries.

I was wondering if it would be worthwhile for me to go through and update a version to use the PDO libraries or MYSQLi so it could be used on PHP 5.6 and higher.

Do any of you have a version that is no longer using the mysql libs?
sarettah is offline   Reply With Quote
Old 04-06-2018, 03:17 AM   #7
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,299
Send a message via ICQ to pc
Quote:
Originally Posted by sarettah View Post
.....

I was wondering if it would be worthwhile for me to go through and update a version to use the PDO libraries or MYSQLi so it could be used on PHP 5.6 and higher.

...
Only then GG could fit/redo to his needs with TGPX.
Model tag pages and search scripts without mysqli or pdo aren't secure enough or at all with mysql.
pc is offline   Reply With Quote
Old 04-06-2018, 06:16 AM   #8
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Orchard Park, NY (current home of the lackluster Bills)
Posts: 37,384
Send a message via ICQ to Greenguy
Quote:
Originally Posted by sarettah View Post
I was wondering if it would be worthwhile for me to go through and update a version to use the PDO libraries or MYSQLi so it could be used on PHP 5.6 and higher.
Quote:
Originally Posted by pc View Post
Only then GG could fit/redo to his needs with TGPX.
Model tag pages and search scripts without mysqli or pdo aren't secure enough or at all with mysql.
If that would allow for me to implement all my bells & whistles, I'd be willing to throw a couple* bucks to anyone that could help
*Please keep in mind it's 2018 & not 2008
__________________
Submit To The Porn Luv Network! | My Host Has Mojo!
Greenguy is online now   Reply With Quote
Old 04-06-2018, 06:46 AM   #9
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,299
Send a message via ICQ to pc
GG. Things you want to implement are actually not really hard to do or most of it. And they can be done now on old mysql querries. IT'S just pointless to invest into already outdated script without first bringing secured db queries up to date.
pc is offline   Reply With Quote
Old 04-06-2018, 07:06 AM   #10
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,299
Send a message via ICQ to pc
I want to add that I failed to bring LinkX up to date. I just created my own very custom script. It was easier.
pc is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:25 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Greenguy Marketing Inc