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
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 02-22-2014, 11:52 AM   #1
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Need quick help with Babelogger v3

Hey,
Trying to figure out multiple row posting, Jakez have mod for this: http://www.13scripts.com/mods/mods.php?id=25
but the page is unclear for me aka not sure what to do, i know some of you did this multiple posting modification, care to share how?
i would appreciate,
cheers,
d.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2014, 12:44 PM   #2
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
maybe ill show what i've done and some1 tell me what i did wrong:

i need to find such code in the index.php:

"if($use_ads=="yes")
{"

here it is:

" $gallery=str_replace("%imageurl%",$script_url.$ima ges_path.$row[imgname],$gallery);
$num++;
if($use_ads=="yes")
{
if($num==$ads1)
{$gallery.=$template_ads_1;}
if($num==$ads2)
{$gallery.=$template_ads_2;}
}"

now if i understand correctly write this code above of it:

"$row_num++;
if($row_num==2){$gallery.="";$row_num=0;}"

so i did:

" $gallery=str_replace("%imageurl%",$script_url.$ima ges_path.$row[imgname],$gallery);
$num++;
$row_num++;
if($row_num==2){$gallery.="";$row_num=0;}
if($use_ads=="yes")
{
if($num==$ads1)
{$gallery.=$template_ads_1;}
if($num==$ads2)
{$gallery.=$template_ads_2;}
}"

now it's not working, obviously i did smth wrong, what?

on Jakez page is something written about manipulating post templates but hes page is broken and i'm not sure what exactly i need to change in post templates:

http://www.13scripts.com/mods/mods.php?id=25
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2014, 01:37 PM   #3
KillerK
Confirmed User
 
Join Date: May 2008
Posts: 3,406
Quote:
Originally Posted by druid66 View Post
maybe ill show what i've done and some1 tell me what i did wrong:

i need to find such code in the index.php:

"if($use_ads=="yes")
{"

here it is:

" $gallery=str_replace("%imageurl%",$script_url.$ima ges_path.$row[imgname],$gallery);
$num++;
if($use_ads=="yes")
{
if($num==$ads1)
{$gallery.=$template_ads_1;}
if($num==$ads2)
{$gallery.=$template_ads_2;}
}"

now if i understand correctly write this code above of it:

"$row_num++;
if($row_num==2){$gallery.="";$row_num=0;}"

so i did:

" $gallery=str_replace("%imageurl%",$script_url.$ima ges_path.$row[imgname],$gallery);
$num++;
$row_num++;
if($row_num==2){$gallery.="";$row_num=0;}
if($use_ads=="yes")
{
if($num==$ads1)
{$gallery.=$template_ads_1;}
if($num==$ads2)
{$gallery.=$template_ads_2;}
}"

now it's not working, obviously i did smth wrong, what?

on Jakez page is something written about manipulating post templates but hes page is broken and i'm not sure what exactly i need to change in post templates:

http://www.13scripts.com/mods/mods.php?id=25

if($row_num==2){$gallery.="";$row_num=0;}

So once it runs twice, it sets $gallery = nothing?

Is and resets to run 2 more times?

What does it do?
KillerK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2014, 02:16 PM   #4
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
i'm not that familiar with php, check the link please. it suppose to setup two posts one next to another.
could be that i've screwed smth, that's why i'm asking.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-23-2014, 02:04 AM   #5
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
up, still looking for explanation
__________________
Pure Japan japanese babes blog
druid66 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



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.