Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot Ask BlinkBits BlinkList Co.mments Delirious Feed Me Links Google Bookmarks Linkagogo Ma.gnolia MSN Live Netscape Netvouz Newsvine RawSugar Rojo Smarking Socializer Sphinn Spurl Squidoo Tailrank Technorati Yahoo My Web
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Latest post from selected forums at mybb.com
16-02-2011, 10:58 PM
Post: #1
Latest post from selected forums at mybb.com
Quote:

MyBB Community Forums - Releases, Development, Plugins & Code Modifications, Releases, Development, MyCodes, Third Party Integration


MyBB Community Forums - http://community.mybb.com
  • Blue day.

    Posted on: 20 May 2012, 6:21 am
    What do you guys think about this theme? Haven't coded it yet. Will be releasing it in Mods database once its coded.



    http://i48.tinypic.com/11v2vte.png
  • How make this?(link)

    Posted on: 19 May 2012, 8:24 pm
    Hello,

    I have this html:

    Code:

    <a href="{$link}" title="{$title}" onclick="Modalbox.show(this.href, {title: this.title, overlayClose: false, width: 250,height:150}); return false;" class="button3 orange">{$title}</a>
    Now I want to use:

    Code:

    [alink={$link}]{$title}[/alink]
    How can I do it?

    Also it it possible to add width and height??
  • MyPortal - MyBB Edition

    Posted on: 19 May 2012, 4:44 pm
    I currently have a mod for XenForo called MyPortal. I am going to port it to MyBB since the demand is high for a working portal system that will bring into light features that are missing from the default portal.



    This will take some time to get done so bear with me as I do this port.



    I will take all feature suggestions in this thread until release then all feature suggestions must be made on my main site.



    So let me hear them?



    Current features of XenForo edition:
    • Various pre-installed blocks
    • Ability to control what forums these blocks pull data from
    • Custom welcome message handled through a phrase that is just one line
    • No separate login form on the main portal page
    • Creation of new blocks
    • Deleting current blocks
    • Moving blocks
    • Admin control of blocks



    Features I am adding that will be part of MyBB edition:
    • Layout controlled from admin area
    • Blocks rebuilt to pull data without extra queries
    • Importing of blocks/layouts
    • Exporting of blocks/layouts



    I now open the thread for suggestions, comments, or concerns.
  • [WIP] Lexie theme

    Posted on: 19 May 2012, 4:38 am
    Not finished version of premium theme for mybb - Lexie theme by forumeking.eu



    http://i.imgur.com/awR69.png
  • Who's Online non MyBBpage

    Posted on: 19 May 2012, 12:10 am
    Still having trouble with this. I'd like a non-Mybb page to show the users as online.



    I have:



    <?php

    define("IN_MYBB", 1);

    require_once "global.php";

    ?>



    at the top of the non MyBB page and it shows as "Unknown Location" in the WOL list but the URL is correct when clicked.



    I've had some help from others who suggest I need a plugin but I am stuck.



    Anyone care to take a crack at a plugin for a nonMyBB page? The page is in my root MyBB folder.
  • I want to know how to edit the theme in my mybb forum

    Posted on: 18 May 2012, 9:02 am
    I am new to mybb forums.

    I want to edit theme so that whenever the forum is displayed for any value of any action on the forum, I have two sidebars avaialble on either side of the forum.

    I want to do this in the default theme iteself.





    What I want o achieve is that I have two sidebars always in ym forum no matter where the user is or what the user is doing on the forum



    for example, I have a shop mod installed in the forum.

    Now when i go to shop, i don't see a sidebar in the shop section.

    oe even if i want to see the profile of a member, i don't see a sidebar in the forum.

    I have installed

    Sidebox (1.2.0)

    Display portal boxes on your forum

    Created by Nayar




    but it dosen't shows the sidebar on every page ( ie for every action of forum for example action= profile) it dosen't shows the sidebox.



    any pointers as to how to go about it?



    or if there is some portal mod that I can use so that i can choose boxes with custom html to display on every action of forum?
  • [WIP] World of Warcraft Theme

    Posted on: 17 May 2012, 4:17 pm
    I'm currently working on a world of warcraft theme for mybb.



    Current Progress: 30% finished



    Things to do:
    • Redo main part of the forum.
    • Add custom images for postbit.
    • Insert world of warcraft item tools tips.



    Things finished:
    • Navigation Bar with dropdown menu.
    • Modal login menu.
    • Banner and background with fixed width.



    demo: http://demo.infernaldesigns.tk
  • I am looking for a MyBB Design Partner

    Posted on: 17 May 2012, 3:16 pm
    I am looking for a partner which are willing to do some cheap PSD MyBB Designs for me.



    I will do the coding.



    You just need to do the PSD designs.
  • [Tutorial] EZ Fast Login | (SSO Integration) | Force Login To MyBB

    Posted on: 17 May 2012, 9:10 am
    Most of this code is originally from MyBB 1.4, but does work in 1.6
    • You can use it to (force) login to MyBB as someone is logging into your other system/script/CMS, etc.
    • Works anywhere you are able to include ' mybb/global.php '



    Please note: I'm not an expert on avoiding conflicts with your other script. I use this code with SSL and encrypted tokens, and those subjects are beyond the purpose of this tutorial.



    PHP Code:

    // !! Use w/ caution this logs a user in without a password
    // auth is already done above
    // You now have the MyBB username currently stored in  $name

    define('IN_MYBB'1);
    // Modify path here for your needs:
    require_once './global.php';  

    $query $db->simple_select("users""uid,username,password,salt,loginkey,email,usergroup""username='$name'", array('limit' => 1));
    $user $db->fetch_array($query);
    my_setcookie('loginattempts'1);
            
    $db->delete_query("sessions""ip='".$db->escape_string($session->ipaddress)."' AND sid != '".$session->sid."'");
            
    $newsession = array(
                
    "uid" => $user['uid'],
            );
            
    $db->update_query("sessions"$newsession"sid='".$session->sid."'");
            
            
    $db->update_query("users", array("loginattempts" => 1), "uid='{$user['uid']}'");
            
            
    // Temporarily set the cookie remember option for the login cookies
            
    $mybb->user['remember'] = $user['remember'];
        
            
    my_setcookie("mybbuser"$user['uid']."_".$user['loginkey'], nulltrue);
            
    my_setcookie("sid"$session->sid, -1true);
        
             
    $plugins->run_hooks("member_do_login_end");

    // Modify below here for your needs:
          //  $user= $user['username'];
         
    header"Location: enter_here.php?return=$return&status=hello" ) ; 
         
    header ("Content-Length: 0");
         exit; 




    #

    Edit:
    • This (above) shows SSO Integration (Single-Sign-On), but doesn't cover integration (syncing) of both user tables in your database.
    • For basic use: You could have a small group of Admins/Editors who can log into your CMS (and this code gives them SSO into MyBB forum), while everyone else logs in normally to your forum.
    • For advanced applications: Anyone with a matching username in "YourCMS" can instantly login to your MyBB forums.





    ##

    Feel free to ask questions, but sometimes my answer might be "it works figure it out". Toungue
  • best way to incorporate myBB into site with existing registration system?

    Posted on: 17 May 2012, 1:14 am
    Hello everyone,



    I'd like to add myBB to my site, but the user base is decidedly not tech savvy. I would like to avoid at all costs forcing people to register new usernames and passwords to use the forum.



    I've spent about an hour browsing through the myBB code and off the top of my head I see two possible methods for integrating the two login systems:



    1) When users log in to the site system, I create an additional cookie for myBB that tricks it into thinking this person is already logged-in. As the domain is the same this would probably work with a bit of tweaking.



    2) I replicate the series of myBB login function calls within my own login script, thereby simultaneously logging the user into both systems in one pass.



    (Both approaches assume I've already run a script to dupe all relevant registered user data from my existing user table into myBB's mybb_user table.)



    Before I dive in, I'd be grateful if any veterans could provide some insight into which would be a better strategy... or suggest an entirely new one.



    Thank you for your time.
  • stopping signup from plugin *SOLVED*

    Posted on: 16 May 2012, 10:03 am
    *******************

    ***** SOLVED *******

    *******************

    The Full working Plugin is at Post #3 in

    http://community.mybb.com/thread-118887.html

    Enjoy





    how would I go about thowing an error to the system to stop the signup I tried to call

    Code:

    $error[] = "some text";

    &&

    error($lang->error_spam_deny);
    like the lines below the hook dose (line 82 of members.php) but it dose not seem to stop the process, if you can help or point me to a post (I search but was not able to find).



    using die() I traced the logic it works out the way it should but the error is not stopping the signup process.



    here is the php

    PHP Code:

    function check_user_in_game_name()
    {
        GLOBAL 
    $mybb;
        
    $check_user_in_game_DB_location     "xxxx";
        
    $check_user_in_game_DB_user_name    "xxx";
        
    $check_user_in_game_DB_user_pass    "xxxx";
        
    $check_user_in_game_DB_name         "xxx";
        
    $check_user_in_game_DB_table        "xxx";

        
    $conUserName mysql_connect($check_user_in_game_DB_location,$check_user_in_game_DB_user_name,$check_user_in_game_DB_user_pass)or die("error 1");
        
    mysql_select_db($check_user_in_game_DB_name$conUserName);
        
    $checkUserNameCall "SELECT playername FROM `".$check_user_in_game_DB_table."` WHERE playername = '".mysql_real_escape_string($mybb->input['username'])."' LIMIT 1";
        
    $checkUserNameResult mysql_query($checkUserNameCall,$conUserName)or die("error 2 ".mysql_error());// $errors[] = "Oh, snap! Something went wrong if HordeCraft Member. dang!";

        
    if($checkUserNameResult && mysql_num_rows($checkUserNameResult) > 0)
        {
            
    mysql_close($conUserName);
            
    error($lang->error_spam_deny);
            
    $errors[] = "Not A HordeCraft Member.";
            return 
    false;
        } elseif(!
    $checkUserNameResult){
           
    error($lang->error_spam_deny);
               
    $errors[] = "Unable to check your players Status. Please contant an site admin.";
            return 
    false;
        }
        
    mysql_close($conUserName);
        return 
    true;



    going over the member.php file I see that
    Code:

    $error
    is set to null after the hook is called is its out but I don't see a way to kill the signup in member.php



    Any help would be great, Thanks.
  • [WIP] neon gaming

    Posted on: 16 May 2012, 6:06 am
    here's a preview of the gaming theme i've been talking about.

    I'm thinking of reworking the user link area (with the message icon and all)



    http://pixelmonkey.co/ngdesign.png



    please note that this is not the final look of the theme. it might be changed a good amount till it's released
  • What do you look for in a portal plugin?

    Posted on: 15 May 2012, 10:41 pm
    Well, I'm coding something for my very personal use (dn't ask).



    So I thoug, maybe, and just maybe, I can write a all-in-one portal plugin (instead of several different ones, as I did for my use).



    So, I would like to ask you all, what do you seek in a portal plugin (support for what? What you find innecesary/necessary from any other portal plugin/default portal)?



    And just for those who will ask, no, I have no even started coding a single line and I don't know if I ever will, so evoid asking that kind of questions.
  • My first plugin

    Posted on: 15 May 2012, 3:03 pm
    EDIT: ****** FULL WORKING PLUGIN is in post #3 *********

    I'm trying to make a plugin to check user name against a out side database. I am using the "hello world" plugin as a staring point. I made the changes to do the work I need but it dose not seem to run. I enabled error reporting and got not errors but it is not showing on the plugins page for me to active.



    here is the code



    PHP Code:

    $plugins->add_hook("member_do_register_start""check_user_in_game");

    function 
    check_user_in_game_info()
    {
        return array(
            
    "name"            => "Check User In Game",
            
    "description"    => "Check Users IGN (in game name) for minecraft",
            
    "version"        => "1.0",
            
    "guid"             => "",
            
    "compatibility" => "1.6.7"
        
    );
    }
    function 
    check_user_in_game($this)
    {

        
    $conUserName mysql_connect($check_user_in_game_DB_location,$check_user_in_game_DB_name,$check_user_in_game_DB_pass);
        
    mysql_select_db($check_user_in_game_DB_name$conUserName);
        
    $checkUserNameCall "SELECT playername FROM `".$check_user_in_game_DB_table."` WHERE playername = '".mysql_real_escape_string($this->data['username'])."' LIMIT 1";
        
    $checkUserNameResult mysql_query($checkUserNameCall,$conUserName) or $this->set_error("Oh, snap! Something went wrong if HordeCraft Member. dang!");

        if(
    $checkUserNameResult && mysql_num_rows($checkUpdateResult) < 1)
        {
           
    mysql_close($conUserName);
           
    $this->set_error("Not A HordeCraft Member.");
           return 
    false;
        }
        
    mysql_close($conUserName);
        return 
    true;



    the only thing not showen is some vars for DB info.

    why is this not activating or even showing in the plugins page.



    Thanks.
  • Where to add own queries?

    Posted on: 15 May 2012, 1:58 am
    Hi,



    I'm totally new in MyBB Modification.



    I wrote this test.php



    Code:

    <?php





    mysql_connect("localhost","root","");

    mysql_select_db("mybb");





    $qry_basarsig = "SELECT mybb_forums.name, mybb_threads.tid

    FROM mybb_forums

    INNER JOIN mybb_threads ON mybb_forums.fid = mybb_threads.fid

    INNER JOIN mybb_users ON mybb_threads.uid = mybb_users.uid

    WHERE mybb_forums.name LIKE 'HF%'

    AND mybb_threads.uid =1

    AND mybb_threads.closed =0";

    $result_basarsig = mysql_query($qry_basarsig);





    while($sig_row = mysql_fetch_object($result_basarsig))

    {

      echo " | <a href=\"http://localhost/showthread.php?tid=$sig_row->tid\"> $sig_row->name </a>" ;

    }





    ?>


    I want to show the echo-output in the Postbit-Signature.



    Where do I have do add the code?
  • [Released] Diablo III Fansite

    Posted on: 14 May 2012, 3:32 pm
    The theme has been released onto the mod database, but awaiting validation.



    I was bored so I decided to take the time today to start on a theme for Diablo 3 for the release. I worked on one in the past, but it got lost in a backup of my old forum. I decided to take some time to redo it, but with updated changes.



    Everything on the theme is custom except for the banner and background that are from the fansite kit. Please feel free to give me some advice on what needs changing.



    Old Topic: http://community.mybb.com/thread-97892.html



    Preview



    .jpg  index.jpg (Size: 275.5 KB / Downloads: 47)


    .jpg  postbit.jpg (Size: 195.6 KB / Downloads: 19)


    .jpg  threadview.jpg (Size: 306.68 KB / Downloads: 21)




    Demo: http://demo.infernaldesigns.tk/



    Log in box is from; http://community.mybb.com/thread-117646.html
  • No-name [WIP]

    Posted on: 14 May 2012, 1:26 pm
    Not sure if this will ever get coded but.. what do you think? Big Grin



    http://i48.tinypic.com/augi2h.png
  • [request] Posts hide Code|

    Posted on: 14 May 2012, 5:31 am
    Is their any post hide code i mean.



    like



    [hide={minimum posts of users to show off}] CONTENT HERE [/hide]





    example :

    Code:

    [hide=50]ONTENTDBJDDJHDJJ CONTENT [/hide]
  • My first default theme edit:)

    Posted on: 13 May 2012, 3:05 pm
    What do you think guys, any tips for my next work?

    It was the first time, don't be too hardSmile



    http://hfimage.net/images/2mn24fq82xill4epxjr.png

    http://hfimage.net/images/ukxqw6gslgcdzz3iblhl.png



    Thank you guysBig Grin
  • Wordpress & Mybb

    Posted on: 13 May 2012, 10:14 am
    I would like to integrate the mybb forums into wordpress and use the wordpress header, footer and sidebar.



    Is their a mod?



    Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Latest news from Joomla Editor Blog thanhlongx4 2 1,027 18-03-2011 12:24 PM
Last Post: leoanderson1
  Latest user submitted tutorials for MyBB thanhlongx4 2 3,695 18-03-2011 12:20 PM
Last Post: leoanderson1
  Latest Joomla tutorials from howtojoomla.net thanhlongx4 0 536 24-02-2011 08:54 PM
Last Post: thanhlongx4
  xcloner.com: support forums thanhlongx4 0 1,364 22-02-2011 12:01 AM
Last Post: thanhlongx4
  MyBB Hacks, XThreads Demo, Gallery, Coding, Plugin, Modifications, Template Condition Mr. Nguyen 0 2,561 19-02-2011 11:23 AM
Last Post: Mr. Nguyen
  Latest Joomla extensions - Joomla 1.6.* thanhlongx4 0 2,266 17-02-2011 09:15 AM
Last Post: thanhlongx4
  Latest Joomla extensions - Joomla 1.5.* thanhlongx4 0 2,077 17-02-2011 09:10 AM
Last Post: thanhlongx4

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: