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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-09-2016, 10:21 AM   #1
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Hide pop on home page (mechbunny)

Wanting to pop something everywhere except the home page, pop will be added to the footer.

Anyone know what code I could use to do this?

I don't wanna bother mechbunny atm as they're pretty busy with their new script version.

$15 paxum for the help, beer monies.

Edit: my script version is a few years old as it has too man customization to upgrade.
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 10:25 AM   #2
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
<?php
$homepage = "/";
$currentpage = $_SERVER['REQUEST_URI'];
if($homepage!=$currentpage) {
include('popup.php');
}
?>
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 10:29 AM   #3
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Quote:
Originally Posted by Colmike7 View Post
<?php
$homepage = "/";
$currentpage = $_SERVER['REQUEST_URI'];
if($homepage!=$currentpage) {
include('popup.php');
}
?>
pop code I'm using will be <script src="popup.js"></script> how would I pop this using your code?
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 10:35 AM   #4
plaster
So Fucking Banned
 
Industry Role:
Join Date: Apr 2015
Posts: 2,295
Just put it on the video template.
plaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 10:36 AM   #5
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by AnimeFevers View Post
pop code I'm using will be <script src="popup.js"></script> how would I pop this using your code?
Good question, I suck at js.. :/

Coders: What if my php echoed the JS like echo'<script src="popup.js"></script>';, would that work?..
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 10:36 AM   #6
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Quote:
Originally Posted by plaster View Post
Just put it on the video template.
My script is a little different, there are many more pages than just index and videos, I used to do that.
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 10:37 AM   #7
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by plaster View Post
Just put it on the video template.
But what about other non-video pages?


I'm sure someone that knows MB will have a better answer than me.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:07 AM   #8
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
<?php if (!checkNav('index')) { ?>

<script src="popup.js"></script>

<? } ?>


See sig for my hourly rate; minimum 1 hour.

__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:11 AM   #9
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Quote:
Originally Posted by blackmonsters View Post
<?php if (!checkNav('index')) { ?>

<script src="popup.js"></script>

<? } ?>


See sig for my hourly rate; minimum 1 hour.

didn't work still pops on the home page.
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:12 AM   #10
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
Quote:
Originally Posted by AnimeFevers View Post
didn't work still pops on the home page.
which version of mechbunny?
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:18 AM   #11
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
Quote:
Originally Posted by AnimeFevers View Post
didn't work still pops on the home page.

Here you go :


<? if ($thisController == 'index' && !$_GET['mode'] && !$_GET['page']) { } else { ?>

<script src="popup.js"></script>

<? } ?>
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:42 AM   #12
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Quote:
Originally Posted by blackmonsters View Post
Here you go :


<? if ($thisController == 'index' && !$_GET['mode'] && !$_GET['page']) { } else { ?>

<script src="popup.js"></script>

<? } ?>
Still pops on the home page, the script is a pretty old version, couple years maybe.
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:46 AM   #13
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by AnimeFevers View Post
pop code I'm using will be <script src="popup.js"></script> how would I pop this using your code?
Mike code should do the job, you should add this to popup.php
Code:
<?php
echo'
 <script src="popup.js"></script>';
?>
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:50 AM   #14
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Quote:
Originally Posted by KlenTelaris View Post
Mike code should do the job, you should add this to popup.php
Code:
<?php
echo'
 <script src="popup.js"></script>';
?>
Not sure what you mean tho, I don't have any popup.php file, my pop script is in a .js and I activate it using this code - <script src="popup.js"></script>

I think BlackMonsters has the right idea but it wont work on my script version, I'm sure there is a way tho, I remember hiding banners from certain pages ages ago.
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:57 AM   #15
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
<?php
$homepage = "/";
$currentpage = $_SERVER['REQUEST_URI'];
if($homepage!=$currentpage) {
echo'
<script src="popup.js"></script>';
}
?>


Try this, then. If it doesn't work, do a test and see if something other than / is the output for $currentpage then change $homepage = "/"; to the homepage value. That way you don't need another php file.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 11:59 AM   #16
flashfire
ICQ 1 6 7 8 5 3 4 9 2
 
Join Date: Feb 2003
Posts: 13,098
an actual business thread on gfy!?!
flashfire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:03 PM   #17
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Quote:
Originally Posted by Colmike7 View Post
<?php
$homepage = "/";
$currentpage = $_SERVER['REQUEST_URI'];
if($homepage!=$currentpage) {
echo'
<script src="popup.js"></script>';
}
?>


Try this, then. If it doesn't work, do a test and see if something other than / is the output for $currentpage then change $homepage = "/"; to the homepage value. That way you don't need another php file.
oh sheet it worked, good job man, what's your paxum?
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:04 PM   #18
flashfire
ICQ 1 6 7 8 5 3 4 9 2
 
Join Date: Feb 2003
Posts: 13,098
nice...good to see webmasters helping each other
flashfire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:06 PM   #19
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by AnimeFevers View Post
oh sheet it worked, good job man, what's your paxum?
I don't have Paxum. Don't worry about it, though, I'm just waking up and bored.

Glad it works!
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:07 PM   #20
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by flashfire View Post
nice...good to see webmasters helping each other
I'm getting Deja Vu from the good ol days.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:08 PM   #21
AnimeFevers
♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
 
AnimeFevers's Avatar
 
Industry Role:
Join Date: Apr 2009
Location: Tell your mom, money is on the fridge
Posts: 3,558
Quote:
Originally Posted by Colmike7 View Post
I don't have Paxum. Don't worry about it, though, I'm just waking up and bored.

Glad it works!
Cheers buddy, good guy right here
__________________
icq - 556766871
email - animefevers(AT)hotmail(DOT)co(DOT)uk
AnimeFevers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:10 PM   #22
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by AnimeFevers View Post
Cheers buddy, good guy right here
Any time you need help, let me know.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 05:12 PM   #23
Coup
🚨 PBBC International 🚨
 
Industry Role:
Join Date: Apr 2010
Location: /👁\
Posts: 9,932
10 PRINT "Hello World!"
20 GOTO 10
Coup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 06:50 PM   #24
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by Coup View Post
10 PRINT "Hello World!"
20 GOTO 10
5 X = 1
10 PRINT "I miss programming with line numbers"
20 X = X + 1
30 If X = 1000 THEN GOTO 100
40 GOTO 10
100 PRINT "I'm over it"
110 PRINT ""
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
pop, mechbunny, page, home, pretty, busy, atm, bother, $15, beer, monies, paxum, script, version, wanna, added, footer, hide, code
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.