Jump to content

Search the Community

Showing results for tags 'mybb'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Site Information
    • Information
    • Staff Contact Center
    • Ask us
    • Introduce Yourself
  • Spotlight RPG Challenge
  • Roleplay Conversations
    • Roleplay Chat
    • Roleplay Management
    • Brainstorming & Ideas
    • Member Confessions
    • Staff Confessions
  • Assistance
    • Site Reviews
    • Coding Help & Requests
    • Graphics Requests
  • Personal RP Requests
  • Site Requests
  • Wanted
  • Creation & Development
  • Learn HTML/CSS's General conversation
  • Learn HTML/CSS's Ask for help
  • Learn HTML/CSS's Quick Tips
  • Modern Fantasy Circle's Topics
  • Historical RPs's Topics
  • Book Club's Topics
  • Make My Life Make Sense's Topics
  • Dragonriders of Pern Boards's Topics
  • Jcink Hosted's Topics
  • Graphics Showcase & Discussion's Topics
  • MyBB Staff People's Topics
  • SMF Staff People's Topics
  • Monster Fans's Topics
  • Discord's Topics
  • Gamers's Topics
  • Pet People's Topics
  • Site Design's Topics
  • Cooking's Topics
  • Cooking's Recipes
  • Star Trek's Topics
  • Star Wars's Topics
  • Game of Thrones's Topics
  • Cosplay's Topics
  • The Writing Pad's Discussion
  • The Writing Pad's Writing Exhibit
  • MTV's THE REAL WORLD!'s Non-RP Chat & Discussion
  • MTV's THE REAL WORLD!'s RL Storytime
  • MTV's THE REAL WORLD!'s The Hot Seat
  • MTV's THE REAL WORLD!'s Forum Games
  • NaNoWriMo's Information
  • NaNoWriMo's Previous NaNoWriMo Years
  • NaNoWriMo's Current NaNoWriMo
  • Harry Potter's Topics
  • Dr Who's Topics
  • Supernatural (The TV Show)'s Topics
  • Firefly's Topics
  • The Bug Enthusiast's Bugs, mice, and all things talk
  • Vesta Software's Feedback and Discussion
  • Vesta Software's Development
  • Vesta Software's Feature Requests
  • Vesta Software's Questions
  • Vesta Software's Archives
  • Movie Club's Test
  • Movie Club's Post-Movie
  • Movie Club's Pre-Movie
  • Movie Club's Topics
  • NOVA's Topics
  • The Art Studio's Topics
  • Avatar the Last Airbender's Topics
  • Cryptozoology's Topics
  • World Building's Map Building
  • World Building's Topics
  • World Building's General Discussions
  • PHPBB Staff people's Topics
  • Xenforo Staff People's Topics
  • Cyberpunk and Transhumanism's Topics
  • Dragon Age's Companions
  • Dragon Age's Ships
  • Dragon Age's Protagonist Corner


  • The Initiative Services and Features
  • Forum Building and Management
  • Writing Materials
  • Being a Member
  • Software
    • IPS Character Manager
  • Coding
  • Graphics


  • Roleplay Search
  • Writing Partner Search
  • Character Home Search


  • General Update
  • Announcement
  • Articles
  • Feedback
  • Tomfoolery


  • Active Challenges
  • Archived Challenges


  • Application Templates
  • Plotters
  • Post Templates
  • Staff Templates
  • Thread Trackers
  • Other
  • Pending Challenge Entries
  • Past Challenge Entries


  • Communications
  • Contributions
  • Operations


  • Jcink Themes
  • ProBoards/FreeForums Themes
  • MyBB Themes
  • IPS Themes
  • SMF Themes
  • phpBB Themes
  • Other Themes
  • Modifications
  • Make My Life Make Sense's Files
  • Dragonriders of Pern Boards's Files
  • PHPBB Staff people's Files
  • Xenforo Staff People's Files
  • Cyberpunk and Transhumanism's Files


  • Morrigan's Madness
  • Staff Blog
  • Just a girl and her stuff....
  • Loose Ends
  • A pirate captain's log
  • Somnia News
  • Ghost's One-Shots
  • Bits & Bones.
  • Amelia's Blog
  • Mobydoll's Blog
  • a medieval world
  • Everything Super
  • Ask GR - advice for RPers
  • Icewolf's Musings
  • Tales From The Shoebox
  • Thoughts on Roleplay
  • Salt Box
  • The Salt Mine
  • Little bit of Gothic
  • The Totally Epic and True Tales of Kit the Human
  • Obvious Blog Is Obvious
  • Fountain of Thoughts
  • Please Turn The Device Off and Back On
  • gbwhatsapp apk
  • The Veritas
  • That Necromancer Life
  • Make My Life Make Sense's Blog
  • Dragonriders of Pern Boards's Blog
  • Cryptozoology's Blog
  • Cyberpunk and Transhumanism's Blog


  • Community Calendar
  • Character Birthdays
  • Book Club's Events
  • Make My Life Make Sense's Events
  • Dragonriders of Pern Boards's Events
  • NaNoWriMo's Virtual Write Ins
  • Cryptozoology's Events
  • Xenforo Staff People's Events
  • Cyberpunk and Transhumanism's Events

Product Groups

  • Converted Subscriptions
  • Hosting
  • Advertising


  • Settings
  • Staff
  • Notifications
  • Forums
  • Submitting to the Directory
  • RPG Directory
  • Playby Directory
  • Searching for Roleplay
  • Guides
  • Challenges
  • Character Wanted Ads
  • Affiliate & Staff search

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






NaNo House

Game of Thrones House

Bending Nation

Found 21 results

  1. clipsed


    Charming mixes the fantastic universe of Harry Potter with the culture of Victorian England.
  2. It's the year 2095. 85 years have passed since the virus DraC-2 first appeared in society, ravaging the world and infecting humans indiscriminately. The Infected, virus-mutated humans that had uncanny similarities to classical vampires, began to tear down the fagility of society in massive strides until nothing was left. Stronghold became the last known surviving city in western North America, ruled over by a dystopian Military thirsty for control and power.
  3. We can add a select all functionality to the showthread.php page (where you see every single post) by exploiting the javascript that's already in mybb. This can be done in both icyboards and self-hosted mybb. The end result natively, doesn't look extremely neat but it works and with some styling to match the rest of your theme, you can get it looking sweet yourself. Go to Templates & Style > Templates > your template set Click on showthread templates Click on showthread Find this piece of code <div id="posts"> {$posts} </div> And directly above it paste in the following <!--select all posts--> <div style="position: relative; padding: 10px;" class="modonly inlinepostsall{$mybb->user['usergroup']}"> <div style="position: absolute; right: 5px;"> <input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" /> <input type="button" onclick="inlineModeration.clearChecked();" value="{$lang->clear}" class="button" /> </div> </div> <!--select all posts--> So you should end up with the following: <!--select all posts--> <div style="position: relative; padding: 10px;" class="modonly inlinepostsall{$mybb->user['usergroup']}"> <div style="position: absolute; right: 5px;"> <input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" /> <input type="button" onclick="inlineModeration.clearChecked();" value="{$lang->clear}" class="button" /> </div> </div> <!--select all posts--> <div id="posts"> {$posts} </div> Save it. It works now but it's available to everyone, we're going to fix this with the stylesheets. Go to your global stylesheet and paste the following anywhere. .modonly { display: none; } .modonly.inlinepostsall4, .modonly.inlinepostsall3, .modonly.inlinepostsall6 { display: block; } The numbers on the end of the class refer to the usergroup identifiers. 4 is the Administrator. 3 is super moderator. 6 are the moderators You can add more groups by adding them below .modonly.inlinepostsall6 Get the group ID by going to User & Groups and click on Groups. When you hover over the groups you have, a URL will pop up at the bottom left hand side of your screen. On the end of the URL is a number. This number if the Group ID that you want. If you want to have the buttons above and below all of your posts, find this piece of code again <div id="posts"> {$posts} </div> Paste this below it <!--select all posts--> <div style="position: relative; padding: 10px;" class="modonly inlinepostsall{$mybb->user['usergroup']}"> <div style="position: absolute; right: 5px;"> <input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" /> <input type="button" onclick="inlineModeration.clearChecked();" value="{$lang->clear}" class="button" /> </div> </div> <!--select all posts--> Now it's above and below all of your posts and it is only available for moderators and administrators!
  4. I'm setting up my first site that's not built on a service that only includes pre-installed plugins and while I've installed plugins onto a MyBB site via cpanel/file manager before, its usually gone pretty smoothly. But it feels like I'm banging my head against the wall with this one. I'm trying to use doylecc's Enhanced Account Switcher (http://doylecc.altervista.org/bb/downloads.php?dlid=4&cat=1) and it seems like its updated all the templates, but it just won't let me switch my accounts from anywhere (header, memberlist, new post, quick reply) I've checked to make sure all files are installed, checked I have the newest version, uninstalled and reinstalled, but nothing has worked. Please help.
  5. Default Avatar Fix (If Not Showing) Icyboards OR Self Hosted For an unknown reason, sometimes when we try to place user avatars in particular areas, the default avatar (if they do not have one) does not show! I'll explain here a little HTML (image scroll tag with javascript) fix that will solve all your problems. Usually this problem will occur while putting the image in the header area or somewhere else. If you are having this problem on posts or profiles, this solution may work as well you'll just need to play around with the variable used for the users avatar. Tutorial Created By: Isoldehn Tutorial Permissions: You may use this tutorial on other sites so long as you credit me for the creation of the tutorial. If you reword this tutorial and make it your own, no need to credit me as it's no longer my wording. Do not claim credit for the creating the code and do not credit me for creating the code, this code is floating about the internet in many resource areas and is as well a very BASIC code. Tutorial Needs: Copy & Paste Abilities Self Hosted MyBB - Use this code, replace INSERTDEFAULTAVATARIMGURLHERE with your forums default avatar link: <img src="{$mybb->user['avatar']}" onerror="this.onerror=null;this.src='INSERTDEFAULTAVATARIMGURLHERE';"></img> Icyboards Hosted MyBB - Use this code, replace INSERTDEFAULTAVATARIMGURLHERE with your forums default avatar link: <img src="{$mybb->user['avatarcdn']}" onerror="this.onerror=null;this.src='INSERTDEFAULTAVATARIMGURLHERE';"></img> ---- This guide WILL work for using images any where else on a forum. So if you do not use MyBB/Icyboards, this might work on whatever forum you are using if you declare variable correctly. My example is just for MyBB in particular.
  6. MyBB 1.8 Using CSS In Posts (<style> Tag) Mybb does not allow the use of <style> tags in posts, simply because they deem it 'dangerous' which can be true but for us forum role players... style tags can mean life or death when it comes to posting tables! I have here a solution for you! Actually two solutions. As a kind reminder: - Before ever touching any core files you should back up your site properly, or keep a copy of the original file you are editing so that you can paste the original code back in easily if something goes wrong. - This tutorial was created using MyBB 1.8.x software. ------------------------------------------------------ Tutorial Created By: Isoldehn Tutorial Permissions: Please do not re-post this tutorial else where, instead link someone to this thread. Tutorial Needs: FTP Access & Knowledge On Editing Core Files AND/OR Ability To Copy & Paste MyCode Style Tag or Core File Edit For HTML Style Tag MyCode Style Tag Step 1 - Go to: Admin CP --> Configuration Tab --> MyCode (found in left side navigation) --> Add New MyCode Step 2 - Create a title and short description, I generally title it "Style" and add the short description as "MyCode style tags to contain CSS." Step 3 - Add in the regular expression: \[style\](.*?)\[/style\] Step 4 - Add in the replacement: <style type="text/css">$1</style> Step 5 - Be sure the MyCode is enabled (check yes), parse order doesn't really matter. ------ Well how do I use it now that I've installed it? You use it just like a style tag but with brackets instead of greater than or less than signs and you need to make sure all line breaks and paragraph breaks are removed from the css. - This will work: <div class="bee">Bee class here!</div><div class="boop">Boop class here!</div> [style].bee { background: pink; padding: 5px; } .boop { background: blue; padding: 15px; }[/style] - This will not work: [style] .bee { background: pink; padding: 5px; } .boop { background: blue; padding: 15px; } [/style] Core File Edit For HTML Style Tag Step 1: - Open up your FTP - Navigate to inc/class_parser.php Step 2: - Open the file, take a deep breath and look at none of it (unless coding is beautiful to you, in that case stare at it hard) - Find and remove |style from this bit of code: $message = preg_replace('#<(/?)(base|meta|script|style)([^>]*)>#i', '&lt;$1$2$3&gt;', $message); Step 3: - Save!! Step 4: - Go make a test thread and use the style tag, make sure it works. Remember you will need to remove all line breaks/paragraph breaks from the CSS! - This will work: <div class="bee">Bee class here!</div><div class="boop">Boop class here!</div> <style>.bee { background: pink; padding: 5px; } .boop { background: blue; padding: 15px; }</style> - This will not work: <div class="bee">Bee class here!</div><div class="boop">Boop class here!</div> <style> .bee { background: pink; padding: 5px; } .boop { background: blue; padding: 15px; } </style>
  7. In this guide, I'm going to walk you through the process of installing the account switcher plugin for mybb. Everything you learn in this guide can be applied to any other plugin. All mybb plugins can be found on the extend section of mybbs website. What you need: Filezilla Client The first thing we need to do is download the Enhanced Account Switcher. When you have downloaded it, extract it to somewhere easy to access. I typically extract plugins to the desktop. You should now have a folder on the desktop named Upload. These are all of the folders and files that you need to upload. Head to your CPanel! URL and instructions on how to access the CPanel should have been emailed to you when you first registered with your host. Click on FTP Accounts Scroll down and under Special Accounts, find your main account. In the Type column, there's an icon of a man and next to it is the username you use to log into the cpanel. Further right, you will see Configure FTP Client. Click on Configure FTP Client. A new section will expand. Click on SFTP Configuration File under Filezilla. A file will download. Open up filezilla. Click on File. Import. Navigate to the xml you have just downloaded and click on Open. When it's done, click OK. Now go to file. Site Manager Select your website and click Connect. You're now connected to your site! On the bottom right, click on public_html Now on the bottom right, there is a list of files and folders that make up your mybb software. In FIlezilla, on the left hand side, are your computer's folders. Navigate to where you downloaded and extracted the enhanced account switcher and go into Upload. Highlight images, inc, jscripts and accountlist.php Now right click and click on Upload. Everything has uploaded into the correct folders! Creating new folders where necessary. Let's test your new plugin! Go to your forum's ACP. Click on plugins. You will be redirected to the following screen: Click on Install & Activate next to Enhanced Account Switcher. It's now installed and ready to use. If you have been on icyboards, this will probably look off! Please hop into the Coding Requests & Help and share what exactly is happening and a link to your forum. I can't give you any codes to use because this will not be a one size fits all unfortunately. Please reach out for help!
  8. Looking for some opinions on the subject. My website is currently based in SMF but I'm perhaps looking towards switching to MyBB... What are the pros and cons of both?
  9. Lonely/Open Threads Listing Tutorial Created By: isoldehn Tutorial Permissions: Please do not re-post this tutorial else where, instead link someone to this thread. - Additionally, you are NOT required to credit me if you use these codes on your board BUT I do wish for you to share this with those that ask about it if they ever do (share the knowledge, be kind). Tutorial Needs: Overall, the ability to copy and paste. - FTP/File Access To Web Space Step One Create the lonely threads file. Open your FTP client or file manager/file area of your web space. In your MyBB directory (usually located directly in public_html) create a new file called lonelythreads.php and insert the following code. <?php // ********************************************************* // * Listing by isoldehn 2019. * // * Free for for general public usage and change! * // * Please do not claim as your own nor charge money to * // * install this for others. * // * If any issues contact isoldehn on RPG Initiative. * // ********************************************************* define("IN_MYBB", 1); define('THIS_SCRIPT', 'lonelythreads.php'); $templatelist = "lonelythreads,lonelythreads_entry,lonelythreads_empty"; require "./global.php"; add_breadcrumb("Lonely Threads", "lonelythreads.php"); // ********************************************************* // ********************************************************* // ********************************************************* $query = $db->query(" SELECT * FROM ".TABLE_PREFIX."threads WHERE ".TABLE_PREFIX."threads.prefix IN (#) AND ".TABLE_PREFIX."threads.replies <= # AND ".TABLE_PREFIX."threads.lastpost >= ".TIME_NOW." - (# * 86400) ORDER BY lastpost DESC "); // SPECIFIED PREFIX IDS // WHERE ".TABLE_PREFIX."threads.prefix IN (#) // Please insert the pids or pid of the prefix(es) in question. These can be found by navigating to Admin CP --> Configuration --> Thread Prefixes. Click the prefix(es) in question, use the number(s) at the end of url(s). // SPECIFIED NUMBER OF REPLIES // AND ".TABLE_PREFIX."threads.replies <= # // Please insert the least amount of replies needed in order to list the thread. If you do not want a specified amount of replies then remove this AND query. // SPECIFIED LAST REPLY DATE // AND ".TABLE_PREFIX."threads.lastpost >= ".TIME_NOW." - (# * 86400) // Please insert the amount of days from the last post that the thread may be shown. 30 for example will show all threads with a post within the last 30 days. // ********************************************************* // ********************************************************* // ********************************************************* while($thread=$db->fetch_array($query)) { $thread['threadlink'] = get_thread_link($thread['tid']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $thread['threadprefix'] = $threadprefix = ''; if($thread['prefix'] != 0) { $threadprefix = build_prefixes($thread['prefix']); if(!empty($threadprefix)) { $thread['threadprefix'] = $threadprefix['displaystyle'].' '; } } $thread['author'] = $thread['uid']; if(!$thread['username']) { if(!$thread['threadusername']) { $thread['username'] = $thread['profilelink'] = htmlspecialchars_uni($lang->guest); } else { $thread['username'] = $thread['profilelink'] = htmlspecialchars_uni($thread['threadusername']); } } else { $thread['username'] = htmlspecialchars_uni($thread['username']); $thread['profilelink'] = build_profile_link($thread['username'], $thread['uid']); } $lastpostdate = my_date('relative', $thread['lastpost']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $lastposteruid = $thread['lastposteruid']; if(!$lastposteruid && !$thread['lastposter']) { $lastposter = htmlspecialchars_uni($lang->guest); } else { $lastposter = htmlspecialchars_uni($thread['lastposter']); } $lastpostdate = my_date('relative', $thread['lastpost']); // Don't link to guest's profiles (they have no profile). if($lastposteruid == 0) { $lastposterlink = $lastposter; } else { $lastposterlink = build_profile_link($lastposter, $lastposteruid); } eval("\$lonelythreads .= \"".$templates->get("lonelythreads_entry")."\";"); } if (!$lonelythreads) { eval("\$lonelythreads .= \"".$templates->get("lonelythreads_empty")."\";"); } eval("\$lonelythreads = \"".$templates->get("lonelythreads")."\";"); output_page($lonelythreads); ?> NOTE(S): Be sure you change all traces of # to the correct ids needed. The file contains // notes for you to follow along to. Please find the notes and edit as suggested. Step Two Create new templates for our listing. Navigate to Admin CP --> Templates & Style --> Templates --> Global Templates --> Add New Template (for each one). Template Name: lonelythreads <html> <head> <title>{$mybb->settings['bbname']} - Lonely Threads</title> {$headerinclude} </head> <body> {$header} <table width="100%" cellpadding="5px" cellspacing="0" border="0"> <tr> <td colspan="5" class="thead">Lonely Threads</td> </tr> {$lonelythreads} </table> {$footer} </body> </html> Template Name: lonelythreads_entry <tr> <td style="text-align: center; padding: 10px;" class="trow1"> {$thread['threadprefix']} </td> <td style="text-align: left;" class="trow1"> <a href="{$thread['threadlink']}"><strong>{$thread['subject']}</strong></a> <br /> by {$thread['profilelink']} </td> <td style="text-align: center;" class="trow1"> <a href="{$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a> replies </td> <td style="text-align: center;" class="trow1"> {$thread['views']} views </td> <td style="text-align: right;" class="trow1"> {$lastpostdate} <br /> <a href="{$thread['lastpostlink']}">Last Post</a> by {$lastposterlink} </td> </tr> Template Name: lonelythreads_empty <tr> <td colspan="5" style="text-align: center; padding: 10px;" class="trow1"> Currently no threads to display. </td> </tr> Step Three Confirm your new page is working by navigating to yoursiteurl/lonelythreads.php and if it is working appropriately you should see a listing of your specifications!
  10. So I have a self-hosted site using mybb structure/coding. I've moved over from Jcink and I'm not all familiar with the layout and what can/can't be used from the stuff we have already on jcink. Basically we would like to have our OOC forums side by side, and our IC forums stacked one on top of the other and we're not sure how to accomplish that. I was wondering if anyone had any helpful resources for Mybb, or any tips they could share to make this happen. Not sure if I need to give any more information but happy to provide just let me know! Any help is appreciated <3
  11. Yep, it functions perfectly now. And I'm glad if I can be useful even in asking for help. 🙂 One more problem occurs. The same happened with the first board, and I don't remember how I fixed it. I just remember it was a very quick fix. So...When I installed and activated the ProStats plugin, it appeared where it should and works fine--but it also throws lengthy warning/error message at the top of my board above the board logo. Like, so long that it looks like the board isn't there but it is when you scroll down long enough. It begins " Warning [2] Illegal string offset 'Latest_posts' - Line: 1247 - File: inc/plugins/prostats.php PHP 7.1.18 (Linux)" and the same for just about every stat in it. (Date, Starter etc.) More than once. I already tried uninstalling and re-installing & activating it. Did not help.
  12. Thanks. 🙂 And well, it wasn't complete waste of time as it did make me realize the issue's cause. ^^ Do you know why the "Forum Contains New Posts" icons won't go out when all the new posts have been read? This issue has been for ages, long before I moved my boards to self-host. Whenever one clicks on them to turn them off seeing to that they refuse to do it themselves...then they light right up again at the very next page load. Both on the index page and on the subforums. I noticed that the ACP's settings have some kind of an experimental setting that should attempt to mark the parent forums unread when there's no longer unread posts...But it sounds like it only applies to the parent forums and not to the subforums--besides, it doesn't seem to work at all anyway. Also, I've been trying to google how to create a forum icon sprite to replace the default one so that they new posts / no new posts icons would at least suit the theme of the RPG. Like, instead of those generic speech bubbles I'd like to have autumn leaves for the Old West rpg. Different colour leaf for the new-posts and no-new-posts status. Or bubbling cauldrons for the Harry Potter RPGs. But I can't find a tutorial how to create such sprite, as it seems it has to be one image with four icons instead of four separate images. By the way, is that standard for this element on boards or is mybb's system just needlessly complicated? (Because on Proboards one could just link individual images for those icons.)
  13. I was browsing through the Codex and I saw this great little thing in one of the screenshots in @/Arceus' character addon for SMF. I was wondering if anyone knew how to create an In Character Date system like this for MyBB? I don't know jack about coding, but I'm thinking a re-work of the Description mod would possibly work? Since it already goes to all the places I'd be looking to put the dates? But I'm not sure how to go about doing so? 😐 Ideally, the input would look just like Arceus has put together for their SMF forum: And the output would be like this; Instead of the literal date in the right hand corner, it would be the In Character Date, as the RL date is stamped on each individual post. Thread View would dump it somewhere in the main section. Possibly instead of a thread image/icon, the date could go there in the same display as the above image? Eg, something like this: Thanks for looking! ❤️
  14. I'm going to start by saying I have nooo idea about any of this type of thing. I'm very literally learning as I break things xD But what I would like to know, is if it is possible to do: <if $userfields['fid45'] != $yes then> <template member_customPF> <else> <div style="background: white; color: red"> <template member_customOOC> </div> </if> You see, I've already made an individual profile for the character accounts (member_customPF) which is pulled by using the template conditionals. Getting it to pull a completely different template if its an OOC account would save me so much time and effort! my problem currently is: 1. if I don't include the '$' before the 'yes' it pops up with errors on the main page: The following warnings occurred: Warning [2] Use of undefined constant yes - assumed 'yes' (this will throw an Error in a future version of PHP) - Line: 57 - File: member.php(2953) : eval()'d code PHP 7.2.22 (Linux) File Line Function /member.php(2953) : eval()'d code 57 errorHandler->error /member.php 2953 eval 2. Regardless of the inclusion of the $ or not, its automatically only pulling the if template, not the else template. I tried using the membergroup method you listed first, but it does the opposite. Parks everything as an OOC account @.@ <if (($memprofile['usergroup'] == 9 || $memprofile['usergroup'] == 10 || $memprofile['usergroup'] == 11 || $memprofile['usergroup'] == 12 || $memprofile['usergroup'] == 13 || $memprofile['usergroup'] == 14)) then> <template member_customPF> <else> <div style="background: white; color: red"> <template member_customOOC> </div> </if> Usergroups 9-14 are the IC accounts; but it has the OOC custom template being shown on them all. Additionally, all the actual OOC accounts also have the OOC custom template being drawn. Please can you tell me where I'm going wrong? lmao. I'm doing something wrong somewhere XD
  15. The database transfer is going well. I can upload avatars, but they do not show up in posts, profiles, or on the ACP user list, but do when looking at a user's information in the ACP, showing that the image is uploaded. I think it might be something to do with the coding for the avatar url paths, but I don't know where these are to fix them.
  16. Fair warning! This list of steps might look daunting to you, but it is literally a step by step guide on how to upload your theme. This guide is intended for people who have no idea how to upload images to their forum using filezilla or cpanel. I am therefore assuming zero knowledge. Typically, when you find a theme you like, you will be given the option to download the theme. When you download it, you will find a zipped file. The zipped file will include all of the assets that you need to make your theme work. Your first task is to unzip the folder to somewhere easy to get to for you. Typically, I will just unzip to my desktop. When you open up the folder that you unzipped, you will see something like the following. The ReadMe First folder usually has any special instructions you might need for the theme! But we're going to ignore all of that, except the Upload folder. The Upload folder is the holder of all assets. This is what you need to upload, whilst preserving the path. If you are on icyboards: Go to your ACP. Click on icyboard settings. Click on enable FTP access. A password will be generated, it will be a random string of letters. Copy it. Open up filezilla client. You need to fill in your forum details up the top of the screen Host type in: icyboards.net In Username type: ib_youricyboardsdomain In Password, paste in the password you copied earlier. It should look like this Click quickconnect. Note: if you have bought a domain, do NOT use it. You must use the domain name that you registered your icyboards forum with. When you see the following text, you are good to go! Go back to the folder you unzipped and open it up. Now, when you open up the upload folder on your desktop (refer to the earlier screen capture) you will probably see a folder called images. Go into that and copy the name of the folder that is inside the images folder. Go back to filezilla. On the right hand side down the bottom, there are a list of folders like this The area I've drawn a circle around are all of your forum files. Right click in that area and click on Create Directory and Enter It. A dialog box will pop up asking you to name the folder. Paste in the name of the folder you just copied. You will be redirected to the new folder. Now it's time to upload! On the left hand side of filezilla there is a list of your folders on your computer under the words Local Site C:\Users\Logged-In-User\ navigate to the folder that you unzipped earlier. If you unzipped to the desktop, it's as simple as clicking on desktop, and then clicking on Unzipped Folder/Upload/images/next-folder/ You should now see all of the image files. Click on the first file. Hold down shift. Click on the last file. You should have all of the files selected. Right click and click on upload. Filezilla will start transferring the files over. When it has finished, you're ready to upload the xml! Go to your ACP. Go to Templates and Style. Click on Import a Theme. Click Choose File and navigate to the folder your unzipped. There is an XML Document there. Upload that. Tick Ignore Version Compatibility. Make sure Import Stylesheet and Import Templates is ticked. You have successfully imported a new theme! If you are self hosted Before going to your cpanel. Extract the theme you want to upload and go into it's folder. Go into Upload. Now go into the image folder. There is likely another folder in that, with the same name as the theme you downloaded. In my case, it is focus. Yours might be different. Right click on the folder, select rename and hit ctrl/command + c. Now go to your cpanel (link, username and password should have been sent to you by your hosting service.) Click on File Manager (top left). Double click public_html Double click on images Click on + Folder (top left) Paste the name of the folder you copied earlier into the dialog box that just popped up. Then click create new folder. Go into the folder that you just created. It's empty! Time to import the images. Click on Upload. A new tab will open. Select all of the theme images and drag them into the new tab. They will start uploading! When all the bars are green, scroll down and click on Go back. You should now be in the folder you created through your cpanel and you should see all of your images! Now it's time to go to your ACP on mybb. Click on Templates & Styles Click on Import a Theme. Click Choose File and navigate to the folder you extracted. Just inside of it is an XML file. Upload it. Make sure Import Stylesheets and Import Templates are selected. Also select Ignore Version Compatibility. Click import theme. It's now ready to go! Go to your site and select it from the theme selector to check it out. Javascript? If your theme employs any javascript you will need to import that as well. Use exactly the same method you used with the images, taking careful note of the folders that the js file is in, and mirroring that with filezilla/cpanel. Squares? If you have imported all of the images and there are little squares everywhere, it's probably using fontawesome. To add fontawesome to your theme, go to font awesome and copy the code. Go to your ACP and click on Templates & Styles > Templates > your theme. Scroll down to the bottom of the page and click on Ungrouped Templates > headerinclude Paste the code above the stylesheets variable, so you have something like this: <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/all.css" integrity="sha384-G0fIWCsCzJIMAVNQPfjH08cyYaUtMwjJwqiRKxxE/rx96Uroj1BtIQ6MLJuheaO9" crossorigin="anonymous"> {$stylesheets} Click save and returned to listing. Do a hard refresh on your site (ctrl or command F5) and it should be working fine! If you have run into any other problems, please feel free to use the coding requests and help forum.
  17. I've been trying to figure out how to have different profiles for OOC Accounts versus character accounts. I know this requires If/Else statements and the template conditions plugin (which I have). I'm not quite savvy enough to figure it out though from just those details, and I'm hoping someone can help or point me in the direction of tutorial (I have search the internet, but I am failing to find one). In the same vein as this, I'm also hoping for some direction on how to make it so empty profile fields don't display (we have a lot of custom coding, so the default behavior of mybb no longer works to do this for me). Thanks!
  18. *** Notice: This topic has a section for self hosted/piggy-back hosted MyBB forums that can access their core files through an FTP account for further capabilities of this function. Unfortunately the further capabilities consist of pulling thread prefixes/styled usernames to show as well and if you use Icyboards you cannot access core files to make these edits BUT you can still use Section One! [1.8] Recent/Latest Post Without A Plugin If you are anything like me you hate a long list of plugins in your ACP and you really hate uploading plugins because anything could go wrong (like accidentally placing files where they don't belong and finding them 3 weeks later thinking "how the ****?". So here is my replacement for this issue. There are two topics for this section. The first is the basic generic "pulling" and the second is a more advanced clean up for self hosted mybb forums (because unfortunately using the built in portals latest posts/threads function does not show thread prefixes (which a lot of people use for dictating whether or not a thread is Mature, Open, Private, etc.) and it also does not style a username with the color/styles attached to the usergroup) which we will fix in that section of this tutorial. Tutorial Created By: Isoldehn Tutorial Permissions: Please do not re-post this tutorial else where, instead link someone to this thread. Tutorial Needs: Overall, the ability to copy and paste. Section 1 - Knowledge Of MyBB Templates Section 2 - FTP Access & Knowledge On Editing Core Files Section One Using the script to pull the threads from the Portal! Please be sure your portal page is enabled and latest posts is enabled/settings configured. I'll let you figure this out on your own because you basically decide how many to show and from what forums/all forums. Step 1: - Open the ACP - Navigate to Templates & Styles --> Templates --> *current template set you are using* --> Portal Templates --> portal - Find: {$latestthreads} - Replace with: <div class="recent_posts">{$latestthreads}</div> Step 2: - Open up the template where ever you would like to add latest threads/posts to. Generally the option is on the index page, or a header, or even a sidebar. I cannot tell you where to place this since this is your choice. - Insert this: <script type="text/javascript"> jQuery(function(){ jQuery(".recent_posts").load("{$mybb->settings['bburl']}/portal.php .recent_posts"); }); </script> <div class="recent_posts"></div> * Credit for this coding is unnecessary as it is a simple script that can be developed by anyone. Step 3: (optional) - Style your latest posts/threads how you like. - Navigate back to Templates & Styles --> Templates --> *current template set you are using* --> Portal Templates --> portal_latestthreads - Create how you would like the div/table to be shown. You can delete everything inside, coding it to your own liking and then add the variable for the threads back in where you would like the thread/post list to show. Variable below for those that accidentally forget to save it. {$threadlist} - Navigate back to Templates & Styles --> Templates --> *current template set you are using* --> Portal Templates --> portal_latestthreads_thread - Again, create this how you would like it to be shown. Variables for things are below in case you forget to save. <a href="{$mybb->settings['bburl']}/{$thread['threadlink']}" title="{$thread['fullsubject']}">{$thread['subject']}</a> (Link to thread and name of thread) <a href="{$thread['forumlink']}">{$thread['forumname']}</a> (Link & name to the forum/board post was created in) <a href="{$thread['lastpostlink']}">Last Post</a> (Link to last post) {$lastposterlink} (Link to the last person that posted) {$lastpostdate} (Date the last post was made) {$thread['replies']} (Number of replies) {$thread['views']} (Number of views) Section Two Fixing the fact that thread prefixes do not show and usergroup styles do not work. Remember, if you continue on with section two we will be editing core files. BEFORE EVER EDITING CORE FILES YOU SHOULD ALWAYS CREATE A BACKUP OF YOUR SITE/FTP AREA (ALL FILES). Just in case anything goes wrong. This tutorial was also created for the MyBB 1.8 Series. If you use this on 1.6 things could very well go horribly wrong and support for 1.6 is no longer offered through MyBB Support. Step 1: - Open your FTP client or your file area where all core files of MyBB can be found. - Navigate to portal.php and open to edit. Step 2: - Find: $latestthreads = ''; // Latest forum discussions - This is the section/area we will be editing. Below those lines (336 & 337) will be all the edits that are being made. Step 3: - Find: $query = $db->query(" SELECT t.tid, t.fid, t.uid, t.lastpost, t.lastposteruid, t.lastposter, t.subject, t.replies, t.views, u.username - Replace with: $query = $db->query(" SELECT t.tid, t.fid, t.uid, t.lastpost, t.lastposteruid, t.lastposter, t.subject, t.replies, t.views, t.prefix, u.username, u.usergroup, u.displaygroup Step 4: - Find: LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=t.uid) - Replace with: LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=t.lastposteruid) Step 5: - Find: $lastposterlink = build_profile_link($lastposter, $thread['lastposteruid']); - Replace with: $lastposterlink = build_profile_link(format_name($thread['lastposter'], $thread['usergroup'], $thread['displaygroup']), $thread['lastposteruid']); Step 6: - Find: $thread['subject'] = htmlspecialchars_uni($thread['subject']); $thread['fullsubject'] = htmlspecialchars_uni($thread['fullsubject']); $thread['threadlink'] = get_thread_link($thread['tid']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $thread['forumlink'] = get_forum_link($thread['fid']); $thread['forumname'] = $forum_cache[$thread['fid']]['name']; - Replace with: $prefix = build_prefixes($thread['prefix']); $prefix = $prefix['displaystyle']; $thread['subject'] = $prefix . " " . htmlspecialchars_uni($parser->parse_badwords($thread['subject'])); $thread['fullsubject'] = htmlspecialchars_uni($thread['fullsubject']); $thread['threadlink'] = get_thread_link($thread['tid']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $thread['forumlink'] = get_forum_link($thread['fid']); $thread['forumname'] = $forum_cache[$thread['fid']]['name']; We are now finished!
  19. Hiya! I would like these codes to correctly parse into BBCode to offer a fantastic way for my members to create post templates like back on SMF. On SMF we used BBCode With Style, a fantastic plugin allowing post customization. Now with our switch to MyBB, I would like to make sure those templates transfer over just fine. Now I have tried a few methods already. The div style codes provided here, here, and here have offered little to no luck, as seen above. (I even received help from the amazing @isoldehn on MyBB) For example, one of our codes would be: [div style="background: url(https://i.imgur.com/x55X7cN.gif); max-width: 700px; height: 300px;"][/div][div style="background: linear-gradient(transparent, #28282a); max-width: 700px; text-align: justify; height: 200px; align: center; margin-top: -200px;"][/div][div style="background: linear-gradient(#28282a, #171719); max-width: 700px; text-align: justify; height: auto;"][div style="background-color: #b2b2b4; max-width: 650px; text-align: justify; border: 1px #310506 solid; padding: 10px; color: #171719;"] This box is expanding as you type further. The gradient from the background rolls into the photo. [/div] [div style="background: 0; max-width: 650px; text-align: justify; padding: 3px; font-size: 10pt; color: #b2b2b4; font-family: georgia; text-align: center;"]information can go here[/div][/div] None Select All and would have the output of this. Meanwhile, when MyCode is presented with the div style code above, it instead comes out like this. As you can see, the code is broken. One problem is that any mention of an image or a background seems to break the code, along with having another div style nested within another one. Another example would be this as the original output with the code: [center][div style="background: url(http://www.richrelevance.com/wp-content/uploads/2014/04/resopnsys-event-bg-700x200.png); max-width: 700px; height: 200px;"][div style="max-width: 800px; text-align: center; font-size: 60px; padding-top: 70px; color: #f5e7e7; font-family: georgia; opacity: 0.98;"][glow=#000,2,300][i][b]the berserkers ✪[/b][/i][/glow][/div][/div][div style="background: linear-gradient(transparent, #A41315); max-width: 700px; text-align: justify; height: 200px; align: center; margin-top: -200px;"][/div][div style="background: radial-gradient(ellipse closest-side, #310506, #A41315); max-width: 700px; text-align: justify; height: auto;"] [center][div style="background-color: #310506; max-width: 650px; text-align: justify; opacity: 0.98; padding: 10px; color: #f5e7e7; font-family: georgia; font-size: 40px; opacity: 0.98; height: 50px;"][glow=#000,2,300][b][i]territory[/i][/b][/glow][/div][/center][center][div style="background-color: #f5e7e7; max-width: 650px; text-align: justify; border: 1px #310506 solid; opacity: 0.98; padding: 10px;"] [/div][/center] [center][div style="background-color: #f5e7e7; max-width: 650px; text-align: justify; border: 1px #310506 solid; opacity: 0.98; padding: 10px;"] [/div][/center] [/div] But MyBB instead has this output. Now how would I do this with MyCode or is there a plugin that could provide me this convenience? Any help would be appreciated. This is one thing I really need for my site and it's really starting to frustrate me. Is something not parsing correctly?
  20. Hi! so, I have the PhP in templates doing its thing, but I have a question about if it can do the thing I want it to do lol I have an input box, for custom hex code. However, if NO hex is put in, I would like it to use a default. But I don't know how to make the code work? Basically, I want each of these Fields to be; If empty: show [default hex code] If filled: use [given code] Is this possible? /*Major Title Headers*/ .ProfileTitle2 {font-family: 'Bilbo Swash Caps', cursive; letter-spacing: 3px; font-size: 55px; color: #{$userfields['fid37']}; text-align: center; background-color:#{$userfields['fid35']}; border-radius: 10px; border: 8px; padding:8px; padding: 10px 50px 0px 0px; text-shadow: 0 -2px 3px #{$userfields['fid33']},0 3px 4px #{$userfields['fid35']};}
  21. I have the Threadlog plugin installed on our site and working, but there are two modifications I'm hoping to make to it but I am not sure how. 1) I simply want to add the column to display the forum that a thread took place in 2) I would like to add a version of this to a user's profile so that anyone can see the threads that that user has participated listed on their profile. Thanks in advance!
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.