Login     Sign up
add block page feed, please
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

I want to add advertising to block the page:
[url]http://www.facehot.cl/f/feed[/url]

to make it so:
[url=http://www.subirimagenes.com/imagen-agregarbloque-5474592.html][img]http://s3.subirimagenes.com:81/imagen/previo/thump_5474592agregarbloque.gif[/img][/url]

Someone can help me, please.

FACEBOOK theme I'm using version 4.1

(excuse my English, I'm using google translator)

165 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

help please

165 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

Go to themes and set yoour script in manage blocks. It's no big problem.

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

hello.

but where I add the code -> [b]'.get_gvar('theme_block_adsbar').'[/b]

164 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

solution:
modify page.tpl.php of facebook theme
before this lines

[code]
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[url][/url">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/url]
[/code]

insert
[code]
$is_cover = 0;
[/code]

then look for this

[code]
<!-- #################### structure ################## -->

<div id="wallpaper" style="width:100%;height:100%;overflow:hidden">
<div id="jcow_main_box">
<div id="jcow_main">
<table id="appframe" cellspacing="0"><tr>
<?php
if ($is_cover) {
[/code]

remove this line or put two // before it

[code]
if ($is_cover) {
[/code]

look for this
[code]
}
echo '<td valign="top">';
if (count($nav) > 2) {
echo '<div id="nav">'.gen_nav($nav).'</div>';
}
[/code]

remove the first } or put two // before it

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

first of all, thank you very much for your help because I am a long time looking for this improvement.

but it gave me to modify the theme ERROR

  • Gave me the subject error ..
    display attached images

startup error:
[URL=http://www.subirimagenes.com/otros-jcowerrorinicio-5491029.html][IMG]http://s2.subirimagenes.com/otros/previo/thump_5491029jcowerrorinicio.jpg[/IMG][/URL]

profile error:
[URL=http://www.subirimagenes.com/otros-jcowerrorperfil-5491031.html][IMG]http://s3.subirimagenes.com:81/otros/previo/thump_5491031jcowerrorperfil.jpg[/IMG][/URL]

If you want I can send you the complete code for my "page.tpl.php"

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

anyone can help me with the error mentioned above by adding that indicated falcone ...

As I indicated falcone fails me and I added other blocks ...

I want is the following:

[b]Home today:[/b]
[URL=http://www.subeimagenes.com/img/inicio-sin-bloque-6843.html][IMG]http://www.subeimagenes.com/thumb/inicio-sin-bloque-6843.jpg[/IMG][/URL]

[b]Home required:[/b]
[URL=http://www.subeimagenes.com/img/inicio-con-bloque-6844.html][IMG]http://www.subeimagenes.com/thumb/inicio-con-bloque-6844.jpg[/IMG][/URL]

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

I'm still waiting for help to add one more to sidebar
news

164 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

file page.tpl.php

change

[code]
if (!$is_cover) {
echo '<td valign="top"><div style="width:170px;float:right;">
'.get_gvar('theme_block_adsbar').'</div></td>';
}
[/code]

in

[code]
if (($application == 'home' && $client['id']) || (!$is_cover)) {
echo '<td valign="top"><div style="width:170px;float:right;">
'.get_gvar('theme_block_adsbar').'</div></td>';
}
[/code]

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

hi, thanks for your help, but where I need this is in the "/ feed" and your change I added on the home page, where the top slides
the comments below ...

I want to add the block in the "/ feed" as shown in Example

[b]feed currently:[/b]
[URL=http://www.subeimagenes.com/img/inicio-sin-bloque-6843.html][IMG]http://www.subeimagenes.com/thumb/inicio-sin-bloque-6843.jpg[/IMG][/URL]
http://www.subeimagenes.com/img/inicio-sin-bloque-6843.jpg

[b]feed required:[/b]
[URL=http://www.subeimagenes.com/img/inicio-con-bloque-6844.html][IMG]http://www.subeimagenes.com/thumb/inicio-con-bloque-6844.jpg[/IMG][/URL]
http://www.subeimagenes.com/img/inicio-con-bloque-6844.jpg

164 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

ok change =='home' to == 'feed'

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

hi, thanks for the help, I'm getting closer to what I want ..

but I get this error, the flow of news is very wide, as modified
this?

[b]error[/b]
[URL=http://www.subeimagenes.com/img/error-feed-bloque-8753.html][IMG]http://www.subeimagenes.com/thumb/error-feed-bloque-8753.gif[/IMG][/URL]
[b]Imagen:[/b] http://www.subeimagenes.com/img/error-feed-bloque-8753.gif

164 months ago
1 2 3 Next