Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Posting Terms To New Thread Page Via Iframe Details »»
Add Posting Terms To New Thread Page Via Iframe
Version: 1.01, by angeljs angeljs is offline
Developer Last Online: Jun 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.1 Rating:
Released: 01-19-2010 Last Update: 01-19-2010 Installs: 22
Template Edits
Re-useable Code Translations  
No support by the author.

This mod allows you to have set terms and conditions for all new threads via an iframe.


******PLEASE CLICK INSTALL IF YOU USE THIS******


I'm no programmer and I'm using this only until a more sophisticated mod is available for vBulletin 4. It's my very first one, so please be gentle with me!

What this mod does:

Adds a simple iframe to the new thread page so members can see your posting terms and conditions before they create the thread.

What it does not do:

Cannot be set for individual forums...the iframe is universal. Any hints on developing this a bit more will be appreciated.

It does not create the terms page for you...you must have one already in order for it to be included. Just add the link to the code below to show your page.

To install:

Go to your admin panel and find the newthread template in whatever skin you are using:

admincp/Styles & Templates/Style Manager/Edit Templates/New Posting Templates/newthread

Look for:

Code:
{vb:raw navbar}
Underneath it add:

Code:
<br>
<table border="0" cellpadding="6" align="center" width="86%">
<tbody>
<tr>
<td style="border: 1px solid #557eaa;"><iframe src="http://www.simfansuk.com/terms.html" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width="100%" height="200"></iframe></td>
</tr>
</tbody>
</table>
<br>
Change the link to your terms page and that's it. The table border colour, #557eaa, can be changed to match your own forums, and of course the height and width of the iframe can be modified, too.

Ok, it's not cool, but I really needed this for my own forums and just decided to share.

Edit: The zip file has been updated to include a basic terms & conditions page which you may or may not want to use. Just upload it to your own site and link to it within the iframe.

Download Now

File Type: zip iframe-terms.zip (83.3 KB, 96 views)

Screenshots

File Type: jpg screenshot.jpg (74.5 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 02-02-2010, 10:41 AM
Tony_FPM Tony_FPM is offline
 
Join Date: Feb 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good mod but i also needed only for 1 forum category.

Thanks for so far .
Reply With Quote
  #13  
Old 03-16-2010, 07:10 PM
SpaceStar SpaceStar is offline
 
Join Date: Apr 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Super - working fine1
Reply With Quote
  #14  
Old 03-29-2010, 02:01 AM
garretbyrne garretbyrne is offline
 
Join Date: Nov 2009
Location: Ireland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well done...
Reply With Quote
  #15  
Old 10-05-2010, 09:57 AM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But what you have to edit template to insert it in a section above the threads in each new thread instead?
Reply With Quote
  #16  
Old 02-16-2011, 11:00 AM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I get the same for blogs too? Tagged.
Reply With Quote
  #17  
Old 02-16-2011, 02:26 PM
rafiul's Avatar
rafiul rafiul is offline
 
Join Date: Jun 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For blog- go to - your template> Blog templates>blog_entry_editor> and find-
<p class="description"><vb:if condition="$show['delete']">{vb:rawphrase blog_entry}: <a href="{vb:link entry, {vb:raw bloginfo}}">{vb:raw title}</a></vb:if></p>
</div>

After </div> tag, Add this code. It will work (tested) .
Reply With Quote
Reply


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 07:09 PM.


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.08703 seconds
  • Memory Usage 2,283KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete