Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Forum SWF 1.0.1 - Show SWF Files in place of forum titles Details »»
Forum SWF 1.0.1 - Show SWF Files in place of forum titles
Version: 1.01, by SkyCatcher SkyCatcher is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-10-2006 Last Update: 07-10-2006 Installs: 8
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

FORUM SWF 1.0.1


This hack will allow you to specify a SWF file throught the adminCP and will then display that flash file instead of the forum title.

You may still enter a forum description that will be shown below the SWF file if you wish to do so.

Known Problems:
When creating a new forum the information you may enter into the box will not be saved. Instead you must create the new forum and then go back to edit and enter a value for it to save.

It works fine with already created forums.



Forum SWF Installation:
Import the product xml file throught the AdminCP
Do the two template edits in the txt file.


Install difficulty: 1 ( two template edits )
Install Time: about 1-2 minutes


This hack is in it's beta stage because I have absolutely no idea what I'm doing - if I did, I'd have coder status

This has been tested with 3.5.4 but should work for 3.6 also.

Any questions or comments - post em here and I'll laugh at you while eating a cookie.... hmmm shouldn't have said that

The idea here is to create your own swf file which links to a forum of your choice with a nice backgroud, description and what not - leaving you total customizability to the way your forums look. Or you just grab the nearest swf file and throw that in there, but where's the fun in that?

Short Demo can be seen HERE


Changelog
1.0.0 Initial Release
1.0.1 Updated Install text file negating double titles

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-12-2006, 12:30 AM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3
where in the admin cp do you enter the swf filename plz??


all i see now on my forumhome is the title repeated twice???

same as there... i cant find it in the forum manager -> edit forum ...
Reply With Quote
  #13  
Old 07-12-2006, 12:34 AM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may also have to add a phrase:

Phrase Typ: GLOBAL
Product: Forum SWF
Variable Name: showswf
Text: URL of the SWF file to display instead of the forum description - must end with .swf( example: myfile.swf )

It should have created it for you but maybe I messed something up.

You should definately see a text box with the number 0 in it though.
Reply With Quote
  #14  
Old 07-12-2006, 01:20 AM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works but with some problems .....

the forum name disapeared and the text in the edit forum was not appearing also
Reply With Quote
  #15  
Old 07-12-2006, 12:20 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Barakat
it works but with some problems .....

the forum name disapeared and the text in the edit forum was not appearing also
The forum name disappearing is normal. The SWF file replaced the forum title while it's active, allowing you to create your own SWF files for each forum with a link to that forumid.

The text in the adminCP is still not appearing even after adding the phrase above?
Reply With Quote
  #16  
Old 07-12-2006, 02:14 PM
PsiNyde PsiNyde is offline
 
Join Date: Dec 2003
Location: New Orleans
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*edited - was NOT an error, but rather a preference*

IF you are putting your forum description in the flash file itself [like SkyCatcher did on his, like I am doing on mine], then you can make this slight code change below [in both level1 and level2 templates] to remove the forum description from under the flash file. it will do exactly the same as the hack itself, but not just for the title.

find:
Code:
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
replace with:
Code:
<if condition="!$forum['forumswf']"><div class="smallfont">$forum[description]</div></if>
Reply With Quote
  #17  
Old 07-12-2006, 05:58 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PsiNyde
one more thing [works very well btw], the forum description remains in mine unless i specifically delete it [it's not being replaced]. here's how to fix it [do this in both the level1 and level2 templates]:

find:
Code:
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
replace with:
Code:
<if condition="!$forum['forumswf']"><div class="smallfont">$forum[description]</div></if>
I just left that up to the user. I felt I'd give them the option to have a description as well and if they didn't want one they could just remove the description text by editing the forum. Personal prefference I guess lol. Anyone using it in action? I'd like to see the results on other boards
Reply With Quote
  #18  
Old 07-12-2006, 06:30 PM
PsiNyde PsiNyde is offline
 
Join Date: Dec 2003
Location: New Orleans
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah. i would be putting the forum description in the flash file, so i found that having the text was redundant [and i didnt want to delete it in case i take the flash file off], but i can see why some would want to keep it [if forum titles weren't in the flash itself]. personal pref...yep.

anywho, here is a snapshot of the one i did today. we'll see if it's well received. if not, i'll have to remove but it sure was neat trying it out! very cool hack...
Reply With Quote
  #19  
Old 07-12-2006, 07:28 PM
PsiNyde PsiNyde is offline
 
Join Date: Dec 2003
Location: New Orleans
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it normal to have only a sliver of the image available to click?
Reply With Quote
  #20  
Old 07-12-2006, 07:57 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack wont work because ActiveX problems. FF is next to have ActiveX run...
Reply With Quote
  #21  
Old 07-12-2006, 08:47 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PsiNyde
is it normal to have only a sliver of the image available to click?
Default sizes of the swf files are 587x57, which you can change by editing the templates if you'd like to have a different sized SWF file.

It looked fine in your screenshot so what happened? :bunny:
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 02:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06662 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete