![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Oct 2006
Location: SWFL
Posts: 4,533
|
![]() Does anyone here use STX tube?
I added footer links to the tube, but they are friggin site-wide.. does anyone know what coding to use to make the links only show on the index page? similar to "(is_front_page() && !is_paged())" used in WordPress? Any help would be appreciated ;) Thanks!
__________________
400 HARDL1NKS only $117! - (100 for $45)
BL0G P0STS $1.85+ | 55,000 Word Comprehensive Synonym Database 2 REVIEW COPIES AVAIL AT 50% OFF! | 16 yr old Aged Domains 4Sale ICQ: 265-593-735 ~ Skype: Naughty-Pages ~ email: ez_money4u(at)comcast(dot)net |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
have you looked in the template directory for the index page? it might have some code in there to do what you want.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
www.Max-Hardcore.com
Industry Role:
Join Date: Nov 2005
Posts: 1,556
|
Remove the footer code and just edit this in your index.php
<div id="footer"> <div id="footer_title"> <h2> <a href="http://www.stxtube.com/">STXtube</a> </h2> </div> <div id="footer_text"> <p>© 2013 All Rights Reserved. <a href="http://www.stxtube.com/">STXtube</a> | Sponsored by : <a href="http://www.sextronix.com/">Sextronix</a>, <a href="http://www.hentaibiz.com/">Hentaibiz</a>, <a href="http://www.pimpboss.com/">Pimpboss</a></p> </div> </div> Thats from their demo but should work.
__________________
![]() CCBill Affiliates ![]() Paullybadboy [@] gmail.com ICQ 631384423 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | ||
Confirmed User
Industry Role:
Join Date: Oct 2006
Location: SWFL
Posts: 4,533
|
Quote:
plus it uses that smarty stuff, took me a few minutes to figure out how to add the includes. Quote:
There's got to be a code of some sort to distinguish the main index page from the rest, but I can't seem to find it. ![]()
__________________
400 HARDL1NKS only $117! - (100 for $45)
BL0G P0STS $1.85+ | 55,000 Word Comprehensive Synonym Database 2 REVIEW COPIES AVAIL AT 50% OFF! | 16 yr old Aged Domains 4Sale ICQ: 265-593-735 ~ Skype: Naughty-Pages ~ email: ez_money4u(at)comcast(dot)net |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Stiff!
Industry Role:
Join Date: Oct 2005
Posts: 493
|
Does STX use regular .php files for templates?
if so, just add something like: <?php if($_SERVER['REQUEST_URI'] == '/') { ?> .... footer links for homepage only ... <?php } ?>
__________________
ICQ 208807506 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Feb 2007
Posts: 579
|
In STXT admin, look at > templates > index templates
the file that is marked as 'default', is your index template file. This one should be in your STXT/templates/ folder. Insert code there or create a separate footer-index.php and include it. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Oct 2006
Location: SWFL
Posts: 4,533
|
Quote:
The only thing is, if there are multiple includes, they each need to be done separately. In case anyone else runs into this issue, this was the code for STX Tube to resolve the site-wide links (this sample snippet is for multiple includes): Code:
{php}if($_SERVER['REQUEST_URI'] == '/') include("FULL PATH TO FILE");{/php} {php}if($_SERVER['REQUEST_URI'] == '/') include("FULL PATH TO FILE");{/php} {php}if($_SERVER['REQUEST_URI'] == '/') include("FULL PATH TO FILE");{/php} See? GFY isn't just for trolls.. ;)
__________________
400 HARDL1NKS only $117! - (100 for $45)
BL0G P0STS $1.85+ | 55,000 Word Comprehensive Synonym Database 2 REVIEW COPIES AVAIL AT 50% OFF! | 16 yr old Aged Domains 4Sale ICQ: 265-593-735 ~ Skype: Naughty-Pages ~ email: ez_money4u(at)comcast(dot)net |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2006
Location: Earth
Posts: 30,989
|
stx tube is using smarty template files, you can check the syntax or how is it used on the template source codes. Files are located at /templates/yourtheme/*.tpl. if you check the template sources of files such as navigation.tpl you can see that $action is the variable you are looking for. IE, {if !$action || $action == 'videos'} html code {/if} is html code to display for front page
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
www.Max-Hardcore.com
Industry Role:
Join Date: Nov 2005
Posts: 1,556
|
Under public_html there gotta be an index right?
__________________
![]() CCBill Affiliates ![]() Paullybadboy [@] gmail.com ICQ 631384423 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
www.Max-Hardcore.com
Industry Role:
Join Date: Nov 2005
Posts: 1,556
|
Just see what it points at.
__________________
![]() CCBill Affiliates ![]() Paullybadboy [@] gmail.com ICQ 631384423 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Industry Role:
Join Date: Oct 2006
Location: SWFL
Posts: 4,533
|
I don't think you understand what the problem was.. (plus the index file is encrypted.. zend)
but anywhoo.. as I mentioned above, the problem has been resolved. ;)
__________________
400 HARDL1NKS only $117! - (100 for $45)
BL0G P0STS $1.85+ | 55,000 Word Comprehensive Synonym Database 2 REVIEW COPIES AVAIL AT 50% OFF! | 16 yr old Aged Domains 4Sale ICQ: 265-593-735 ~ Skype: Naughty-Pages ~ email: ez_money4u(at)comcast(dot)net |
![]() |
![]() ![]() ![]() ![]() ![]() |