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

Home » FUDforum » How To » Is it possible to add advertising banners within a post?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  Is it possible to add advertising banners within a post? [message #28178] Thu, 13 October 2005 00:13 Go to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

Good morning.

Is it possible to insert advertising banners within a post?

It would be ideal if this could be done by some sort of script.

But I'd like to know if it can also be done manually.

Thank you for any advice on this matter.

Smile



CelebrateCapitalism.ORG
"Why? Because I own my life!"

* * * * * * * * * * * * * * * * *

phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
Re: Is it possible to add advertising banners within a post? [message #28180 is a reply to message #28178] Thu, 13 October 2005 00:22 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
You can quite easily add banners by editing your templates (Admin CP -> Template Editor).

Best regards.

Frank
icon3.gif  Re: Is it possible to add advertising banners within a post? [message #28181 is a reply to message #28180] Thu, 13 October 2005 00:42 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

naudefj wrote on Thu, 13 October 2005 10:22

You can quite easily add banners by editing your templates (Admin CP -> Template Editor).



I see. Okay. I'll have a look at that. Thanks. Idea


CelebrateCapitalism.ORG
"Why? Because I own my life!"

* * * * * * * * * * * * * * * * *

phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
Re: Is it possible to add advertising banners within a post? [message #28182 is a reply to message #28181] Thu, 13 October 2005 00:50 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

prodos wrote on Thu, 13 October 2005 10:42

naudefj wrote on Thu, 13 October 2005 10:22

You can quite easily add banners by editing your templates (Admin CP -> Template Editor).



I see. Okay. I'll have a look at that. Thanks.


Well, I just had a look. Wow! It sure does allow enormous flexibility in making changes to one's message board!

However - being pathetically non-technical Sad - I feel a bit daunted by this section.

Would someone like to suggest which of headings I should open up to look at?

Thanks. Shocked



CelebrateCapitalism.ORG
"Why? Because I own my life!"

* * * * * * * * * * * * * * * * *

phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
Re: Is it possible to add advertising banners within a post? [message #28193 is a reply to message #28182] Thu, 13 October 2005 15:12 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If you want to add ads to inidividual posts you need to edit drawmsg.tmpl template that governs message drawing.

FUDforum Core Developer
icon5.gif  Re: Is it possible to add advertising banners within a post? [message #28234 is a reply to message #28193] Fri, 14 October 2005 12:28 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

Ilia wrote on Fri, 14 October 2005 01:12

If you want to add ads to inidividual posts you need to edit drawmsg.tmpl template that governs message drawing.


Okay. Thanks for that pointer.

When I go that section, I am offered a whole lot of further options.

From their name, I can see that some of them are clearly not what I need to go into.

But I can't work out which of these I should try to alter. None of them seem to indicate that they are about the area in which the posts are found.

Would it be possible to help me zero in further please?


[ - ] drawpmsg.tmpl
» dpmsg_online_indicator
» dpmsg_offline_indicator
» dpmsg_location
» dpmsg_no_location
» dpmsg_msg_icon
» dpmsg_buddy_link_lnk
» dpmsg_buddy_link
» dpmsg_im_icq_lnk
» dpmsg_im_icq
» dpmsg_im_aim
» dpmsg_im_yahoo
» dpmsg_im_msnm
» dpmsg_im_jabber
» dpmsg_file_attachments
» dpmsg_file_attachment_lnk
» dpmsg_file_attachment
» dpmsg_user_profile_lnk
» dpmsg_user_profile
» dpmsg_email_link_lnk
» dpmsg_email_link
» dpmsg_private_msg_link_lnk
» dpmsg_private_msg_link
» dpmsg_edit_link_lnk
» dpmsg_edit_link
» dpmsg_reply_link_lnk
» dpmsg_reply_link
» dpmsg_quote_link_lnk
» dpmsg_quote_link
» private_message_entry
» dpmsg_no_msg_body
» dpmsg_msg_toolbar_lnk
» dpmsg_msg_toolbar_lnk2
» dpmsg_msg_toolbar
» dpmsg_profile_link_lnk
» dpmsg_profile_link
» dpmsg_prev_message_lnk
» dpmsg_prev_message
» dpmsg_next_message_lnk
» dpmsg_next_message
» drawpmsg_affero_reg
» drawpmsg_affero_noreg
» dpmsg_buddy_link_remove_lnk
» dpmsg_buddy_link_remove


Thank you for any assistance with this.

I apologise for my slowness in understanding. Very Happy




CelebrateCapitalism.ORG
"Why? Because I own my life!"

* * * * * * * * * * * * * * * * *

phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
Re: Is it possible to add advertising banners within a post? [message #28239 is a reply to message #28234] Fri, 14 October 2005 13:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You are looking at drawpmsg (private messages) not drawmsg (regular messages).

FUDforum Core Developer
icon5.gif  Re: Is it possible to add advertising banners within a post? [message #28293 is a reply to message #28239] Sun, 16 October 2005 08:17 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

Ilia wrote on Fri, 14 October 2005 23:52

You are looking at drawpmsg (private messages) not drawmsg (regular messages).


Oh, right. Thanks.

I've now gone to the "drawmsg" section.

Here is the list of options I get:

[ - ] drawmsg.tmpl
» dmsg_prev_message
» dmsg_prev_message_prev_page_lnk
» dmsg_prev_message_prev_page
» dmsg_tree_prev_message_prev_page_lnk
» dmsg_tree_prev_message_prev_page
» dmsg_next_message
» dmsg_next_message_next_page_lnk
» dmsg_next_message_next_page
» dmsg_tree_next_message_next_page_lnk
» dmsg_tree_next_message_next_page
» dmsg_ignored_user_message_lnk
» dmsg_ignored_user_message_lnk2
» dmsg_ignored_user_message_lnk3
» dmsg_ignored_user_message
» dmsg_ignored_user_message_static
» dmsg_online_indicator
» dmsg_offline_indicator
» dmsg_level_image
» dmsg_avatar
» dmsg_reg_user_link_lnk
» dmsg_reg_user_link
» dmsg_reg_user_no_link
» dmsg_anon_user
» dmsg_ip_address_url
» dmsg_location
» dmsg_no_location
» dmsg_tags
» dmsg_custom_tags
» dmsg_no_custom_tags
» dmsg_buddy_link_add_lnk
» dmsg_bd_il
» dmsg_buddy_link_add
» dmsg_buddy_link_remove_lnk
» dmsg_buddy_link_remove
» dmsg_remove_user_ignore_list_lnk
» dmsg_remove_user_ignore_list
» dmsg_add_user_ignore_list_lnk
» dmsg_add_user_ignore_list
» dmsg_im_icq_lnk
» dmsg_im_icq
» dmsg_im_aim
» dmsg_im_yahoo
» dmsg_im_msnm
» dmsg_im_jabber
» dmsg_poll_option
» dmsg_poll_result
» mini_dmsg_poll
» dmsg_poll_lnk
» dmsg_poll
» dmsg_drawmsg_file_attachments
» dmsg_drawmsg_file_attachment_lnk
» dmsg_drawmsg_file_attachment
» dmsg_modified_message_mod
» dmsg_modified_message
» dmsg_report_to_mod_link_lnk
» dmsg_report_to_mod_link
» dmsg_user_profile_lnk
» dmsg_email_link_lnk
» dmsg_private_msg_link_lnk
» dmsg_next_msg_page_lnk
» dmsg_next_msg_page
» dmsg_no_next_msg_page
» dmsg_delete_link_lnk
» dmsg_edit_link_lnk
» dmsg_edit_link
» dmsg_reply_link_lnk
» dmsg_reply_link
» dmsg_quote_link_lnk
» dmsg_quote_link
» dmsg_message_toolbar
» dmsg_normal_message_body
» dmsg_short_message_body_lnk
» dmsg_short_message_body
» dmsg_im_row
» message_entry
» dmsg_no_msg_body
» drawmsg_affero_reg
» drawmsg_affero_noreg
» dmsg_reply_to_lnk
» dmsg_reply_to
» dmsg_num
» dmsg_num_wrap

I tried opening "message_entry" because it looked like the most likely candidate.

This is what I find in the text area that is presented ...


<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}
</table></td></tr>



Am I on the right track?

Whereabouts within here do I insert the coder for my advertising banners, please?

Thanks for any assistance with this. Smile





CelebrateCapitalism.ORG
"Why? Because I own my life!"

* * * * * * * * * * * * * * * * *

phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
Re: Is it possible to add advertising banners within a post? [message #28304 is a reply to message #28293] Mon, 17 October 2005 03:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You are very much on the right track. You want to put your banner code somewhere in the <td colspan="2" class="MsgR3"> block.

FUDforum Core Developer
icon14.gif  Re: Is it possible to add advertising banners within a post? [message #28306 is a reply to message #28304] Mon, 17 October 2005 12:40 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

Ilia wrote on Mon, 17 October 2005 13:11

You are very much on the right track. You want to put your banner code somewhere in the <td colspan="2" class="MsgR3"> block.


I did it! It works! Yippee!! Thank you very much!

Very Happy Very Happy Very Happy Very Happy Very Happy


CelebrateCapitalism.ORG
"Why? Because I own my life!"

* * * * * * * * * * * * * * * * *

phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
Re: Is it possible to add advertising banners within a post? [message #35122 is a reply to message #28178] Sat, 09 December 2006 18:33 Go to previous messageGo to next message
modules is currently offline  modules   Germany
Messages: 1
Registered: December 2006
Karma: 0
Junior Member
It seems like drawmsg.tmpl» message_entry is on another place now.
I try to set one ad after the first forum/thread/topic/post.

Can somebody help?

[Updated on: Sat, 09 December 2006 19:57]

Report message to a moderator

Re: Is it possible to add advertising banners within a post? [message #35132 is a reply to message #35122] Mon, 11 December 2006 05:15 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You probably need to edit msg.tmpl which is what displays all the messages, rather then drawmsg.tmpl that deals with drawing of message content for every message.

FUDforum Core Developer
Re: Is it possible to add advertising banners within a post? [message #166023 is a reply to message #35132] Mon, 05 September 2011 10:48 Go to previous message
brian1234 is currently offline  brian1234
Messages: 3
Registered: September 2011
Location: USA
Karma: 0
Junior Member
You are right.This is the actual method for adding the banner code to your ads in your websites. By this method the banner ads will automatically embedded to each posts. It is one of the effective method of advertising.

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Registration and Profile
Next Topic: Adding Skyscraper Ads
Goto Forum:
  

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

Current Time: Mon Nov 25 22:15:21 GMT 2024

Total time taken to generate the page: 0.02616 seconds