Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
CT - Special Header and rules newthread Details »»
CT - Special Header and rules newthread
Version: 1.0.3, by Asterix_ita Asterix_ita is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 05-19-2010 Last Update: 02-22-2011 Installs: 23
Uses Plugins Template Edits
Translations  
No support by the author.

The hack Special Header and Rules offers us all an opportunity to enter the heads and rules of custom forum
through simple html file, images table, adsense other .......

create an html file storage, the default configuration is necessary to create, in the root, a folder named head (of course everyone can change folder name and path, then need to update the fields in admincp ? options ? special head ? path)

As you can see in the stamp file is not recognized without having to open them.



Var:

Path file HTML = return the path to the html file, starting from the root of the forum, do not contain
the initial and final slash, below are some examples to clarify what has been described.
es.
http://(www.)mysite/folder
http://(www.)mysite/forum/folder
value var HtmlPath= folder

http://(www.)mysite/folder1/folder2/folder
http://(www.) mysite/forum/folder1/folder2/folder
value var HtmlPath= folder1/folder2/folder

The filename must be composed forumid.html eg. 1.html

Rules suffix = The text entered here will compose the name of the HTML file, the suffix will allow us to highlight the html file header from those rules, the default is _nt (new thread)
The filename must be composed forumid_suffix.html where forumid=id forum ? suffix= text that we chose
default forumid+suffix.html es. 1_nt.html

Last clarification html files should not have tag type head - body ???. an example

Code:
<center><img border="0" src="http://www.collectiontricks.it/forum/head/2/collection.png"></center>

Install:

Upload the file
Import product_special_head.xml
Configure in vBulletin Options -> Special head

Change template newthread

find
Code:
<label for="subject" class="full">{vb:rawphrase title}:</label>
add before
Code:
{vb:raw ct_rules_thread}

Changelog
1.0.2 add special rules options
1.0.3 add default special rules

Translations

Italian language - Collectiontricks


other screen this post

Download Now

File Type: zip product_special_head_1.0.2.zip (2.8 KB, 55 views)
File Type: zip product_special_head_1.0.3.zip (3.8 KB, 71 views)

Screenshots

File Type: png 20-05-2010 18-57-08.png (68.7 KB, 0 views)
File Type: png 20-05-2010 19-01-16.png (116.0 KB, 0 views)
File Type: png 20-05-2010 19-04-48.png (5.3 KB, 0 views)
File Type: png 20-05-2010 19-05-14.png (21.7 KB, 0 views)
File Type: png 28-05-2010 22-41-19.png (23.5 KB, 0 views)
File Type: png 28-05-2010 22-58-23.png (30.3 KB, 0 views)
File Type: png 23-02-2011 20-14-52.png (51.1 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 11-23-2012, 12:30 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am confused.
Where do I enter the html?
I see a default set up...where will it be located?
Reply With Quote
  #13  
Old 11-24-2012, 06:54 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Where do I enter the html?
you must create a folder head in the root of the forum, and then you put the html files

Regards
Reply With Quote
Благодарность от:
Mr_Running
  #14  
Old 11-24-2012, 01:09 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Asterix_ita Thank you.
Works great

...On a side note: The thin dotted red padding doesn't work for me?

Quote:
Originally Posted by Asterix_ita View Post
HTML Code:
<div style=&quot;border:thin dotted red;padding: 2px 10px 2px 10px;&quot;>You are about to open a new discussion <b>Forum test</b>. Ricorda
<ol>
<li>make sure your application is really tied to this forum</li>
<li>be sure to read and follow the rules</li>
</ol></div>
Reply With Quote
  #15  
Old 04-26-2015, 07:41 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
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:37 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.04290 seconds
  • Memory Usage 2,288KB
  • Queries Executed 20 (?)
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
  • (3)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_quote
  • (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
  • (5)post_thanks_box
  • (1)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (9)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete