Thread: Forum Home Enhancements - Forum Affiliates
View Single Post
  #17  
Old 01-02-2007, 03:53 PM
Marky's Avatar
Marky Marky is offline
 
Join Date: Aug 2004
Location: UK
Posts: 321
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by extreme-mobile View Post
nice, but how would i get it to display a SWF file?

i want this to be shown at the bottom

http://www.extreme-mobile.co.uk/mylogos/dean.swf

many thanks
Currently due to the additions that swf files need in html, version 1.0 doesn't support swf files for affiliates. BUT - I've edited the product (See attached file) and in the admin control part, where you put the image you must add the swf html equivilent. For example, if you want an image there you must put:
<img border="0" src="image.gif">
For swf:
<object width="xx" height="xx"><param name="movie" value="movie.swf"></param><param name="wmode" value="transparent"></param><embed src="movie.swf" type="application/x-shockwave-flash" wmode="transparent" width="xx" height="xx"></embed></object>

Quote:
Marky, I like this. I have it implemented. Two suggestions if I may.

1) The URL to the image for your affiliate box should be a standard image such as misc/stats.gif or statusicon/forum_link.gif for example. Many forums use different themes and having an image which fits the theme in question would improve the look.

2) There needs to be an option for target="_blank" as many forum admins would prefer to not have users leave their forums.

Do you think these are things you'll consider for an update?
1) How about the option to have either one from the theme folder and a custom one?

2) That's a definate. I'll be going back to school tommorow, but if I don't have too much on, I'll get this done by tommorow

Quote:
One request for this mod:

Give some instructions on putting the block in other areas. Like near the header.

Make the number of available input boxes for different affiliates configurable. Maybe using AJAX to open up new boxes?
Yes sorry the instructions are rushed I agree. I will update them soon to make them clearer and of course give you different places to stick the affiliates box

And on the AJAX front, unfortunatly I can't do AJAX But I'll definatly consider an alternative way...

- Marky
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete