FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » adsense in the message
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
adsense in the message [message #161156] Wed, 18 November 2009 10:34 Go to next message
INVY is currently offline  INVY   Italy
Messages: 33
Registered: November 2009
Karma: 0
Member
how I must make in order to insert adsense in the message?

(to see image attached)
index.php?t=getfile&id=5790&private=0
  • Attachment: Immagine.jpg
    (Size: 39.37KB, Downloaded 1628 times)
icon6.gif  Re: adsense in the message [message #161157 is a reply to message #161156] Wed, 18 November 2009 13:08 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
Sorry I don't know any thing about ad sense! And the only mention I find is from 2003 so I have no idea how accurate it is now.

But you might look it over it may help, and couldn't hurt.


http://fudforum.org/forum/index.php?t=msg&goto=14751&&srch=adse nse#msg_14751



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: adsense in the message [message #161193 is a reply to message #161157] Sun, 22 November 2009 16:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
This should help inserting ads.

Please hit "edit" to fix or expand the article as you work your way though it.
icon14.gif  Re: adsense in the message [message #161199 is a reply to message #161193] Sun, 22 November 2009 19:01 Go to previous messageGo to next message
INVY is currently offline  INVY   Italy
Messages: 33
Registered: November 2009
Karma: 0
Member
wow Surprised

Grazie, thanks
Re: adsense in the message [message #161293 is a reply to message #161156] Fri, 04 December 2009 12:42 Go to previous messageGo to next message
Markus Allen is currently offline  Markus Allen   
Messages: 58
Registered: September 2005
Karma: 0
Member
I went to the Wiki to try to find out how to insert an ad at the top of the first post in a thread and it said to modify the drawmsg.tmpl file...

... But when you click the [+], we get several dozen subfiles to choose from.

Do you know which subfile to edit?
Re: adsense in the message [message #161294 is a reply to message #161293] Fri, 04 December 2009 13:35 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Wiki was updated.

PS: With a username like like, you should count yourself lucky that you're not banned yet.
Re: adsense in the message [message #161296 is a reply to message #161294] Fri, 04 December 2009 14:56 Go to previous messageGo to next message
Markus Allen is currently offline  Markus Allen   
Messages: 58
Registered: September 2005
Karma: 0
Member
naudefj wrote on Fri, 04 December 2009 08:35
Wiki was updated.

PS: With a username like like, you should count yourself lucky that you're not banned yet.

I appreciate the always-quick reply.

I tried this and got this error:
unterminated tag MAIN_SECTION inside drawmsg.inc

Here's the code I used:
<tr><td class="MsgSpacer"><table cellspacing=0 cellpadding=0 class="MsgTable">
<tr>
<td class="MsgR1 vt al MsgSubText"><a name="msg_num_{VAR: m_num}"></a><a name="msg_{VAR: obj->id}"></a>{IF: $obj->icon && !$hide_controls}<img src="images/message_icons/{VAR: obj->icon}" alt="{VAR: obj->icon}" />&nbsp;&nbsp;{ENDIFI}{VAR: obj->subject}{TEMPLATE-DATA: rpl}</td>
<td class="MsgR1 vt ar"><span class="DateText">{TEMPLATE: dmsg_post_date}</span> {TEMPLATE-DATA: prev_message}{TEMPLATE-DATA: next_message}</td>
</tr>
<tr class="MsgR2"><td class="MsgR2" colspan=2><table cellspacing="0" cellpadding="0" class="ContentTable">
<tr class="MsgR2">
{TEMPLATE-DATA: avatar}
<td class="msgud">{TEMPLATE-DATA: online_indicator}{TEMPLATE-DATA: user_link}{IF: !$hide_controls}{IF: $obj->user_id}<br /><b>{MSG: posts_c}</b> {VAR: obj->posted_msg_count}<br /><b>{MSG: registered}</b> {TEMPLATE: dmsg_join_date} {TEMPLATE-DATA: location}{ENDIFI}{ENDIFI}</td>
<td class="msgud">{TEMPLATE-DATA: dmsg_tags}</td>
<td class="msgot">{TEMPLATE-DATA: dmsg_bd_il}{TEMPLATE-DATA: dmsg_im_row}{IF: !$hide_controls}{IF: ($obj->host_name && $o1 & 268435456)}<b>{MSG: from}</b> {VAR: obj->host_name}<br />{ENDIFI}{IF: ($b & 1048576 || $usr->md || $o1 & 134217728)}<b>{MSG: dmsg_ip}</b> <a href="{TEMPLATE: dmsg_ip_address_url}" target="_blank">{VAR: obj->ip_addr}</a>{ENDIFI}{ENDIFI}</td>
</tr></table></td>
</tr>
<tr><td colspan="2" class="MsgR3">
{TEMPLATE-DATA: msg_body}{TEMPLATE-DATA: drawmsg_file_attachments}
{TEMPLATE-DATA: modified_message}{IF: !$hide_controls}{IF: ($obj->sig && $o1 & 32768 && $obj->msg_opt & 1 && $b & 4096 && !($a & 67108864))}<p /><hr class="sig" />{VAR: obj->sig}{ENDIFI}{TEMPLATE: dmsg_report_to_mod_link}{ENDIFI}
</td></tr>
{IF: !$hide_controls}{TEMPLATE: dmsg_message_toolbar}{ENDIFI}
{IF: !$obj->reply_to}<tr><td>
<script type="text/javascript"><!--
google_ad_client = "pub-7807783590458970";
/* 336x280, created 12/4/09 */
google_ad_slot = "8925590520";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td></tr>{ENDIFI}
 {MAIN_SECTION: END}

 {SECTION: dmsg_no_msg_body}
</table></td></tr>


I tried the same code without this:
 {MAIN_SECTION: END}

 {SECTION: dmsg_no_msg_body}


And got the same error.

I'm using FUDforum 2.7.2.

I really appreciate your help.

-markus

By the way, I hate spam as much as you do... I didn't consider my username (which I created years ago here) spam... can you change it to my name... Markus Allen?
Re: adsense in the message [message #161297 is a reply to message #161296] Fri, 04 December 2009 15:34 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Markus Allen is much better, thanks!

Open drawmsg.tmpl with a text editor to fix it up.

PS: FUDforum 2.7.2 is very old and not supported. Please upgrade to the latest version ASAP.
Re: adsense in the message [message #161298 is a reply to message #161297] Fri, 04 December 2009 18:13 Go to previous messageGo to next message
Markus Allen is currently offline  Markus Allen   
Messages: 58
Registered: September 2005
Karma: 0
Member
naudefj wrote on Fri, 04 December 2009 10:34
Markus Allen is much better, thanks!

Open drawmsg.tmpl with a text editor to fix it up.

PS: FUDforum 2.7.2 is very old and not supported. Please upgrade to the latest version ASAP.

I'd love to update but I can't because I've got FUDforum hard coded with AMember membership software and I was told to never upgrade because it would cost a lot of money to make the tweaks.

I'm not sure what this means:
Quote:
Open drawmsg.tmpl with a text editor to fix it up.


I really appreciate your great help here.
Re: adsense in the message [message #161299 is a reply to message #161298] Fri, 04 December 2009 18:23 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Markus Allen het op Fri, 04 December 2009 20:13 geskryf:
I'd love to update but I can't because I've got FUDforum hard coded with AMember membership software and I was told to never upgrade because it would cost a lot of money to make the tweaks.


Who is behind this AMember software and why would one like to integrate it with FUDforum?
Re: adsense in the message [message #161300 is a reply to message #161299] Fri, 04 December 2009 18:42 Go to previous message
Markus Allen is currently offline  Markus Allen   
Messages: 58
Registered: September 2005
Karma: 0
Member
naudefj wrote on Fri, 04 December 2009 13:23
Markus Allen het op Fri, 04 December 2009 20:13 geskryf:
I'd love to update but I can't because I've got FUDforum hard coded with AMember membership software and I was told to never upgrade because it would cost a lot of money to make the tweaks.


Who is behind this AMember software and why would one like to integrate it with FUDforum?

I wanted my members to have one username and password for both AMember and FUDForum... so I had a programmer invest months on this. It's VERY complicated. But it works GREAT.

FUDForum still works great, too... even though it's an old version. And the programmer I hired is in Russia and very hard to track down.

Can I PayPal you cash to fix this? It seems like something easy to do.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Wich is the best php editor
Next Topic: Pink
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 05:04:56 GMT 2024

Total time taken to generate the page: 0.02317 seconds