Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 131,634
» Latest member: Haripriya
» Forum threads: 176,458
» Forum posts: 1,236,824

Full Statistics

Latest Threads
plugin list disappeared a...
Forum: Plugin Support
Last Post: [ExiTuS]
57 minutes ago
» Replies: 3
» Views: 96
Forum crashes error 500 a...
Forum: Theme Support
Last Post: tomeydemarcos
1 hour ago
» Replies: 8
» Views: 1,234
change color scheme of a ...
Forum: Theme Development
Last Post: bv64
Today, 06:21 AM
» Replies: 1
» Views: 49
Mint Shop / Mint - Anothe...
Forum: Plugin Support
Last Post: Gaxkang
Today, 02:25 AM
» Replies: 0
» Views: 57
User manual plugins
Forum: General Support
Last Post: Omar G.
Yesterday, 10:23 PM
» Replies: 8
» Views: 602
MyBB 1.8.38 Pre-Release B...
Forum: MyBB 1.8 Development
Last Post: Devilshakerz
Yesterday, 02:26 PM
» Replies: 1
» Views: 121
Warning under PHP8.x in p...
Forum: 1.8 Bugs and Issues
Last Post: bv64
Yesterday, 01:52 PM
» Replies: 2
» Views: 86
MyAlerts v2.0.4
Forum: Plugin Releases
Last Post: Laird
Yesterday, 01:37 AM
» Replies: 1,718
» Views: 740,250
Old MyCodes Work, New One...
Forum: General Support
Last Post: Omar G.
2024-04-23, 10:54 PM
» Replies: 8
» Views: 2,367
Warnings under PHP 8.x wh...
Forum: Pushed
Last Post: Devilshakerz
2024-04-23, 01:43 PM
» Replies: 1
» Views: 54

 
  How do I add HTML snippet to index?
Posted by: Anthony P. - 2015-08-04, 06:45 PM - Forum: 1.6 General Support - Replies (2)

I make money online as an ad publisher and I need to put a snippet of HTML in the index of my forum. It's a PopWin ad.
 
How can I do this?

Print this item

  Prune IP Address of a specific user?
Posted by: Black Box - 2015-08-04, 12:22 AM - Forum: 1.6 General Support - Replies (1)

is there a way to Prune IP Address of a specific user?

Print this item

  Sidebar on portal
Posted by: Sogansizwhopper - 2015-08-02, 07:35 PM - Forum: 1.6 General Support - Replies (1)

I have latest threads sidebar on my index with hide/show option. I want to have same function on my portal to show or hide latest threads table with a sidebar but I couldn't do. When I copy javascript and sidebar codes of index, last threads tables dissappears both on index and portal. So how can I do that?


index Template:

<div class="sidebar" style="float: right; width: 250px;">

<script type="text/javascript">
jQuery(function(){
jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
});
</script>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
<strong>
Son Yorumlar
</strong>
</td>
</tr>
<tr>
<td class="trow3" style="{$collapsed['ths_e']}" id="ths_e">

<div class="latestthreads float_left">
</div>

</td>
</tr>
</table>

</div>

<div class="forums" style="float: left; width: 810px;">
{$forums}
</div>

Portal_lastthreads template:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->latest_threads}</strong></td>
</tr>
{$threadlist}
</table>
<br />


Link: http://dontstarveturkiye.com/forum/index.php

Print this item

  [icyboards] Upload Theme
Posted by: SpikY_ - 2015-08-02, 03:14 PM - Forum: 1.6 General Support - Replies (7)

Hey,
I want to upload Portal2 Theme on my forum but i have no experience in uploading themes. I have import'ed .xml file but don't know how to upload images. I know it can be upload by FTP but i also give it a try. The images won't upload.

Regards,
- SpikY_

Print this item

  1.8.5?
Posted by: CrazyCroGamer - 2015-08-02, 01:33 PM - Forum: 1.6 General Support - Replies (1)

Hello i downloaded the latest build on 1.8.5 and when i set it all up it says version 1.6.17? Why

Print this item

  How to know who is Top Thread Starter or who is Most Thread Starter?
Posted by: Black Box - 2015-08-02, 08:37 AM - Forum: 1.6 General Support - Replies (2)

Hi my co-mybb user..

How to know who is Top Thread Starter or who is Most Thread Starter? is thread any way how to know it?

Print this item

  Quick edit button not working
Posted by: Cloverlea - 2015-08-01, 09:11 PM - Forum: 1.6 General Support - Replies (6)

I tried upgrading today without much luck and I'm back on 1.6 and now have a quick edit button problem.

This is what's in headerinclude


<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets}
<script type="text/javascript">
<!--    var cookieDomain = "{$mybb->settings['cookiedomain']}";    var cookiePath = "{$mybb->settings['cookiepath']}";    var cookiePrefix = "{$mybb->settings['cookieprefix']}";    var deleteevent_confirm = "{$lang->deleteevent_confirm}";    var removeattach_confirm = "{$lang->removeattach_confirm}";    var loading_text = '{$lang->ajax_loading}';    var saving_changes = '{$lang->saving_changes}';    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";    var my_post_key = "{$mybb->post_code}";    var imagepath = "{$theme['imgdir']}";// --></script>
{$newpmmsg}

Is it something in here?

Thanks in advance.

Print this item

  Imgur upload for 1.6
Posted by: desiusanet - 2015-07-31, 06:22 PM - Forum: 1.6 General Support - No Replies

Hello friends,

I have been trying to get this to work but with no luck

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

My forum link is www.indiachatforum.net and has Mybb 1.6

I was able to make the changes mentioned in the thread but when I click on the button and select the image I am getting

[img]undefined[/img]

Here is the imgur.php

<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Upload to Imgur</title>
</head>
<body>
<div>
<img src="images/imgur.png" border="0" /></div>

<button onclick="document.querySelector('input').click()">Select file...</button>
<input style="visibility: collapse; width: 0px;" type="file" onchange="upload(this.files[0])">

<script>
    window.ondragover = function(e) {e.preventDefault()}
    window.ondrop = function(e) {e.preventDefault(); upload(e.dataTransfer.files[0]); }
    function upload(file) {

        /* Is the file an image? */
        if (!file || !file.type.match(/image.*/)) return;

        /* It is! */
        document.body.className = "uploading";

        /* Lets build a FormData object*/
        var fd = new FormData(); // I wrote about it: https://hacks.mozilla.org/2011/01/how-to-develop-a-html5-image-uploader/
        fd.append("image", file); // Append the file
        var xhr = new XMLHttpRequest(); // Create the XHR (Cross-Domain XHR FTW!!!) Thank you sooooo much imgur.com
        xhr.open("POST", "https://api.imgur.com/3/image.json"); // Boooom!
        xhr.onload = function() {
            var code = '[img]' + JSON.parse(xhr.responseText).data.link + '[/img]';
            var editor = eval('opener.' + 'clickableEditor');
            editor.performInsert(code);
            javascript:window.close()
        }
        // Ok, I don't handle the errors. An exercice for the reader.
        xhr.setRequestHeader('Authorization', 'Client-ID 15-digit-client-id');
        /* And now, we send the formdata */
        xhr.send(fd);
    }
</script>

<span style="color:#fff;text-align:center;display:block;margin: 1em">Browse for your image, or drag and drop it into this window if you use FF or Chrome.</span>

<style>
    body {text-align: center; background-color: #000; overflow-x:hidden; overflow-y:auto; color:#888}
    div { background-color: rgb(43, 43, 43); border-bottom: 4px solid rgb(68, 68, 66); margin: -8px;}
    p {display: none}
    .uploading p {display: inline}
</style>

<p><img src="images/loader.gif" border="0" /></p> 
</body>
</html> 

Has anyone who got this error message was able to get this working?

Please help

Print this item

  How do I get last post avatar to show up on forums?
Posted by: Sgt Cheesepuffs - 2015-07-30, 10:08 PM - Forum: 1.6 General Support - Replies (1)

I'm trying to get my forums to display the last posters avatar like in the picture [Image: ybeHitu.png?1]

How do I achieve this?

Print this item

  Template Conditionals
Posted by: erich199 - 2015-07-30, 03:48 PM - Forum: 1.6 General Support - Replies (1)

I posted this over at Zinga Burga's site, but haven't gotten a response. Here is what I posted, maybe someone can point me in the right direction:


Quote:Hi,

I'm wondering if it's possible to make a conditional for a listbox.

What I'm trying to do is make it so when a user makes a selection, it will display certian HTML and other xthread fields.

So I made a contact form with a dropdown. If the person chooses "Contact Staff" then it will display only xthread fields that I made for staff.

If they choose "Submit Article" then it will not show any staff related xthread fields.

I was reading the forums and saw how it can be created, but I'm not sure what the values are for the drop down selection.

I saw something like:

Code:

<if $GLOBALS['threadfields']['contus_select'] == 'war' then>
This is a war zone
<elseif $GLOBALS['threadfields']['contus_select'] == 'safe' then>
this is a safe zone
</if>


I'm not sure where the 'war' and 'safe' values are coming from in this example.

Thanks for the help!

Print this item