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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 82,720
» Latest member: lacayocarol
» Forum threads: 145,491
» Forum posts: 1,079,940

Full Statistics

Online Users
There are currently 451 online users.
» 9 Member(s) | 442 Guest(s)
DenndoxX, Jack.D, lacayocarol, mallic, Monkeys, psock, Supryk

Latest Threads
MyAlerts v2.0.2
Forum: Plugin Releases
Last Post: andrewjs18
2 minutes ago
» Replies: 459
» Views: 15,810
How To Lose Sensibly And ...
Forum: General Support
Last Post: lacayocarol
7 minutes ago
» Replies: 0
» Views: 2
IP Search shows moderator...
Forum: Pushed
Last Post: Monkeys
14 minutes ago
» Replies: 5
» Views: 1,528
iGame (Dark transparent s...
Forum: Theme Releases
Last Post: Monkeys
41 minutes ago
» Replies: 378
» Views: 38,462
Mybb 1.8 - Foundation 5 -...
Forum: Theme Development
Last Post: mujeebdgk
1 hour ago
» Replies: 8
» Views: 1,567
Disable or change the col...
Forum: General Support
Last Post: Monkeys
1 hour ago
» Replies: 2
» Views: 43
add text box?
Forum: General Support
Last Post: .m.
1 hour ago
» Replies: 5
» Views: 43
user title stars messed u...
Forum: General Support
Last Post: JustinBytes
2 hours ago
» Replies: 3
» Views: 46
[MyCode] UID
Forum: MyCodes
Last Post: JustinBytes
2 hours ago
» Replies: 0
» Views: 28
[MyCode] Let me google th...
Forum: MyCodes
Last Post: JustinBytes
2 hours ago
» Replies: 0
» Views: 28

 
  How do I add HTML snippet to index?
Posted by: Anthony P. - 11 hours ago - Forum: General Support - Replies (1)

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 - Yesterday, 12:22 AM - Forum: General Support - No Replies

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

Print this item

  Sidebar on portal
Posted by: Sogansizwhopper - 08-02-2015, 07:35 PM - Forum: 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:

Code:
<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:

Code:
<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_ - 08-02-2015, 03:14 PM - Forum: 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 - 08-02-2015, 01:33 PM - Forum: 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 - 08-02-2015, 08:37 AM - Forum: 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 - 08-01-2015, 09:11 PM - Forum: 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 - 07-31-2015, 06:22 PM - Forum: 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 http://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

Code:
<!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 - 07-30-2015, 10:08 PM - Forum: 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 - 07-30-2015, 03:48 PM - Forum: 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