@m2stil Twitter;
14 Takipçi
E-Bülten Abonesi;
22 Okuyucu
Paylaş
Yazı 9 Yorum
21/032010

vBulletin 3.8.5 – Free M2-Stil Style [English]

Review m2-stil.com on alexa.com
vBulletin 3.8.5 – Free M2-Stil Style [English]Hello my friends. This is my first free theme work sharing. I was making professional and paid work who doesn’t know me before. After the new vBullettin 4 my business slowdown and I had free time to do this project. I just want to show that vBulletin is still alive in Turkey! Don’t think that it will be bad work because of I do it free. This is the first time that I work with this theme. To save the panel in theme I used PHP codes.

Now: you can watch the video below to see analysis of theme;

flash” allowfullscreen=”true” allowscriptaccess=”always” width=”580″ height=”283″>

Also you see the pictures below about theme…
vBulletin 3.8.5 – Free M2-Stil Style ~ FORUMHOME
vBulletin 3.8.5 – Free M2-Stil Style ~ SHOWTHREAD
vBulletin 3.8.5 – Free M2-Stil Style ~ STATUSICON
vBulletin 3.8.5 – Free M2-Stil Style ~ BUTTONS

Properties, Installation and Settings of M2-Style Theme

Properties

  • For the visuality and excellence, I used FamFamFam Silk and Wireframe icon packages for small icons.
  • For the visuality and dynamics, I used the plugin which I have prepared and also plugin of jQuery which are free.
  • The design have been dimensioned according to standart advertisement fields.
    • In Header template, 468×60 advertisement field with the codes
    • In Navbar template,there is 2 side by side 468×60 advertisement field
    • In Postbit template,there is 728×90 advertisement field in messages. I can recommend and section may be formed.
  • Header, Footer, Navbar, Forumhome, Postbit and some other templates are completely prepared with DIV panels.
  • It has W3C (World Wide Web Consortium) standarts, there isn’t any code error, except the “&” character in vBulletin links.
  • Quote, Code, Html and Php bbcode boxes are prepared especially and it is integrated with plugin of jQuery.
  • Finally; all the arragment and developments are made with new installed vBulletin. There isn’t installed plugin. All the arragments which you see are made by hand and I want to say that there may be some problems in plugin which you have installed.
vBulletin 3.8.5 - Ücretsiz M2-Stil Teması ~ The Browser Support

Installation

  • m2-stil” and “images” folders have to be installed to directory where your forum website is installed.
  • The file named with “vbulletin-style.xml” have to be installed from theme section in “AdminCP” panel
  • The Turkish language files are changeable, for that I didn’t arrenge any Turkish language file. So if you want that your website to work in English language without any problem; you can install “vbulletin-language.xml” file at language administration in “AdminCP” panel
  • Finally; with the help of Umut ÇALIŞKAN (Lord Montrey) we will install an plugin to adding avatar to user panel, which can be controlled in “AdminCP” too. You must install “product-montreynavbaravatar.xml” file at plugin panel in “AdminCP” panel, install it certainly.

Settings

  • Firstly! All the changes you will do in this section are just about the general adjustment and adjustment of panels.For that it depends on you to make or not.

    The arrangement in language file is the arrangement for word or sentence which overflow from the panels. This arrangement is for English language file. For Turkish language file you have to make arrangement.

    The arrangements in .php and .js files are made for PHP bbcode box and “inlinemod” properties in postbit.
  • For the language arrangements you have to enter language settings section in “AdminCP” panel.

    Find:
    <a href="private.php{3}">Private Messages</a>: {1}, {2}.
    Add to the English language box:
    <a href="private.php{3}"><strong>P.M.:</strong></a> {1}, {2}.
    Find:
    You last visited: {1} at <span class="time">{2}</span>
    Add to the English language box:
    Last visit: {1} at <span class="time">{2}</span>
    Find:
    by <a href="{1}" rel="nofollow">{2}</a>
    Add to the English language box:
    <a href="{1}" rel="nofollow" title="{2}">{2}</a>
    Find:
    Never
    Add to the English language box:
    <p class="forum-kategori-icerik-tablo-son-mesaj-yok">Never</p>
    Find:
    Currently Active Users
    Add to the English language box:
    There are currently
    Find:
    {1} members and {2} guests
    Add to the English language box:
    users online. <span class="forum-bilgileri-online-kisiler">(<span>{1}</span> members and <span>{2}</span> guests)</span>
    Find:
    Most users ever online was {1}, {2} at {3}.
    Add to the English language box:
    Most users ever online was <span class="forum-bilgileri-online-rekor-sayi">{1}</span>, {2} at {3}.
    Find:
    Today's Birthdays
    Add to the English language box:
    We want to wish you(r) a happy birthday.
    Find:
    Powered by vBulletin&reg; Version {1}<br />Copyright &copy;2000 - {2}, Jelsoft Enterprises Ltd.
    Add to the English language box:
    Powered by vBulletin&reg; Version {1} ~ Copyright &copy;2000 - {2}, Jelsoft Enterprises Ltd.
  • Now we have to make arrangement in .php and .js files.

    We open “includes/class_bbcode.php” folder and we have to find the code below and delete it.
    	/**
    	* Handles a [php] tag. Syntax highlights a string of PHP.
    	*
    	* @param	string	The code to highlight.
    	*
    	* @return	string	HTML representation of the tag.
    	*/
    	function handle_bbcode_php($code)
    	{
    		global $vbulletin, $vbphrase, $stylevar, $show;
    		static $codefind1, $codereplace1, $codefind2, $codereplace2;
    
    		$code = $this->strip_front_back_whitespace($code, 1);
    
    		if (!is_array($codefind1))
    		{
    			$codefind1 = array(
    				'<br>',		// <br> to nothing
    				'<br />'	// <br /> to nothing
    			);
    			$codereplace1 = array(
    				'',
    				''
    			);
    
    			$codefind2 = array(
    				'&gt;',		// &gt; to >
    				'&lt;',		// &lt; to <
    				'&quot;',	// &quot; to ",
    				'&amp;',	// &amp; to &
    				'&#91;',    // &#91; to [
    				'&#93;',    // &#93; to ]
    			);
    			$codereplace2 = array(
    				'>',
    				'<',
    				'"',
    				'&',
    				'[',
    				']',
    			);
    		}
    
    		// remove htmlspecialchars'd bits and excess spacing
    		$code = rtrim(str_replace($codefind1, $codereplace1, $code));
    		$blockheight = $this->fetch_block_height($code); // fetch height of block element
    		$code = str_replace($codefind2, $codereplace2, $code); // finish replacements
    
    		// do we have an opening <? tag?
    		if (!preg_match('#<\?#si', $code))
    		{
    			// if not, replace leading newlines and stuff in a <?php tag and a closing tag at the end
    			$code = "<?php BEGIN__VBULLETIN__CODE__SNIPPET $code \r\nEND__VBULLETIN__CODE__SNIPPET ?>";
    			$addedtags = true;
    		}
    		else
    		{
    			$addedtags = false;
    		}
    
    		// highlight the string
    		$oldlevel = error_reporting(0);
    		$code = highlight_string($code, true);
    		error_reporting($oldlevel);
    
    		// if we added tags above, now get rid of them from the resulting string
    		if ($addedtags)
    		{
    			$search = array(
    				'#&lt;\?php( |&nbsp;)BEGIN__VBULLETIN__CODE__SNIPPET( |&nbsp;)#siU',
    				'#(<(span|font)[^>]*>)&lt;\?(</\\2>(<\\2[^>]*>))php( |&nbsp;)BEGIN__VBULLETIN__CODE__SNIPPET( |&nbsp;)#siU',
    				'#END__VBULLETIN__CODE__SNIPPET( |&nbsp;)\?(>|&gt;)#siU'
    			);
    			$replace = array(
    				'',
    				'\\4',
    				''
    			);
    
    			$code = preg_replace($search, $replace, $code);
    		}
    
    		$code = preg_replace('/&amp;#([0-9]+);/', '&#$1;', $code); // allow unicode entities back through
    		$code = str_replace(array('[', ']'), array('&#91;', '&#93;'), $code);
    		$template = $this->printable ? 'bbcode_php_printable' : 'bbcode_php';
    		eval('$html = "' . fetch_template($template) . '";');
    		return $html;
    	}
    Find in same file;
    	function emulate_pre_tag($text)
    	{
    		$text = str_replace(
    			array("\t",       '  '),
    			array('        ', '&nbsp; '),
    			nl2br($text)
    		);
    
    		return preg_replace('#([\r\n]) (\S)#', '$1&nbsp;$2', $text);
    	}
    Add below;
    	/**
    	* Handles a [php] tag. Displays a preformatted string.
    	*
    	* @param	string	The code to display
    	*
    	* @return	string	HTML representation of the tag.
    	*/
    	function handle_bbcode_php($code)
    	{
    		global $vbulletin, $vbphrase, $stylevar, $show;
    
    		// remove unnecessary line breaks and escaped quotes
    		$code = str_replace(array('<br>', '<br />'), array('', ''), $code);
    
    		$code = $this->strip_front_back_whitespace($code, 1);
    
    		if ($this->printable)
    		{
    			$code = $this->emulate_pre_tag($code);
    			$template = 'bbcode_php_printable';
    		}
    		else
    		{
    			$blockheight = $this->fetch_block_height($code);
    			$template = 'bbcode_php';
    		}
    
    		eval('$html = "' . fetch_template($template) . '";');
    		return $html;
    	}
    Finally find in “clientscript/vbulletin_inlinemod.js” file;
    var H=fetch_tags(table,"td");
    Change with below code;
    var H=fetch_tags(table,"div");
May you recover soon… You strain a lot but after the this arrangements you get a theme without having any problem. Thanks a lot for using my theme. Enjoy..

Değerlendir

1 Yıldız2 Yıldız3 Yıldız4 Yıldız5 YıldızToplam: 14 Değerlendirme
Ortalama: 5 Üzerinden 4,36
  1. 22/03/2010, 03:40 -

    [...] vBulletin 3.8.5 – Free M2-Stil Style [English] ~ Metin METE Resmi … [...]

  2. 22/03/2010, 14:40 -

    [...] vBulletin 3.8.5 – Free M2-Stil Style [English] ~ Metin METE Resmi Web Sitesi — The Metin MET… [...]

  3. 28/03/2010, 16:35 -

    [...] The rest is here: vBulletin 3.8.5 – Free M2-Stil Style [English] ~ Metin METE Resmi … [...]

  4. 04/04/2010, 21:05 -

    Hi there!

    I am new here.Awesome being here.
    Want to discuss more info on the subject of programming and development.
    Wishing to be familiar with jake?
    Which I have come to learn about is literally a link between Cakephp and Joomla?
    How can these really merge and provide impression to web development in php??

  5. 04/04/2010, 22:09 -

    @Sara: hi sara! i’m sorry! i don’t know the structure of CakePHP and Joomla code :/

  6. 08/04/2010, 00:51 -

    cok sey ogrendim

  7. 15/04/2010, 17:06 -

    hi im new here

  8. 15/04/2010, 17:44 -

    @StindUseceist: then welcome to you (:

  9. Jinniltereeli
    21/04/2010, 15:13 -

    Hey

    Really glad to get into this forum
    It’s what I am looking for.
    Hope to know more member here.