Go Back   EA Forums > Hideaway Forums > amykhar's Hideaway

amykhar's Hideaway A premium support forum for my vbulletin modifications. Members of this forum receive extra help, bug fixes, etc. for my code. To join, Subscribe to the Vbulletin Plan Minor feature requests will be considered, but major mod alterations will require a special contract.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-15-2006, 07:13 AM
New Member
 
Join Date: Mar 2006
Posts: 12
aeroguy is on a distinguished road
advertisements within a post

Amy, do you know where your mod is kept, the one that places advertisement within a users post...i did see in a vbulletin.org, cant seem to find it now. thanks
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-15-2006, 10:46 AM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,814
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re advertisements within a post

I'll just grab you the code from here. Back in a sec with it.
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-15-2006, 10:50 AM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,814
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re advertisements within a post

Here's what I'm using here. If you don't want certain groups seeing the ads, change the usergroups listed in the is_member_of call.
 
Attached Files
File Type: txt adsense-1.txt (1,000 Bytes, 6 views)
__________________
Salt makes mistakes taste great.

Last edited by amykhar; 04-17-2006 at 01:41 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-16-2006, 06:01 AM
New Member
 
Join Date: Apr 2006
Posts: 3
Glovebox is on a distinguished road
Re advertisements within a post

Amy I get the following when updating styles:

"The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected '<' in /home/wrescra/public_html/includes/adminfunctions_template.php(3537) : eval()'d code on line 164

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish."

Any idea's?

Adam
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-17-2006, 01:40 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,814
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re advertisements within a post

I left off the last quotes in :

Code:
<if condition="!(is_member_of($bbuserinfo,6,27))>
It should be:
Code:
<if condition="!(is_member_of($bbuserinfo,6,27))">
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-17-2006, 01:48 PM
New Member
 
Join Date: Apr 2006
Posts: 3
Glovebox is on a distinguished road
Re advertisements within a post

Thanks Amy, I knew it was something in that line but I couldnt see the problem.. Danke!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are On


All times are GMT -4. The time now is 10:19 PM.


Menu
Quizzes
More Forums
Gallery


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
Content on EA Forums may not be duplicated without permission
Page generated in 0.19789 seconds with 12 queries