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 2018-04-05, 12:30 PM   #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: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
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
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-05, 01:01 PM   #2
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
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 2018-04-05, 04: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: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
Send a message via ICQ to Greenguy
Can you also set up links to the sponsors or the individual user defined fields?
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-05, 05: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: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
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.
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-05, 07:18 PM   #5
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
You can add more than one user defined field.
Toby is offline   Reply With Quote
Old 2018-04-05, 10:47 PM   #6
sarettah
Asleep at the switch? I wasn't asleep, I was drunk
 
Join Date: Apr 2005
Posts: 214
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 2018-04-06, 04:17 AM   #7
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
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 2018-04-06, 07: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: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,705
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
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2018-04-06, 07:46 AM   #9
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
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 2018-04-06, 08:06 AM   #10
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
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 -4. The time now is 06:56 PM.


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