Current date/time is 9/5/2024, 14:11

Search found 161 matches for punbb

Recent Posts Topic

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : Yourself
Forum link : http://astariel.userboard.net

Description of problem

So, I noticed there's recent topics widget but I didn't see a recent posts widget. Is there a way to make one?
by Enalahs89
on 6/9/2015, 21:56
 
Search in: Garbage
Topic: Recent Posts Topic
Replies: 1
Views: 764

Character Counter not adding to actual editor

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : All members
When the problem appeared : Anytime I try to add the code AND when I tick "In all the pages"
Forum link : http://astariel.userboard.net

Description of problem

Ok. So, I found the code to add a character counter (not words but single characters) to my site. But it only adds to the quick reply and not the actual reply editor. I'm trying to get it to work on both but it's just not working. Any help would be soooo appreciated x,x

Code:

$(function() {
  if (!document.getElementById('text_editor_textarea')) return; // no textarea ? better not continue :(
 
  // define global data to be cached and reused
  window.$fa_char = {
    area : document.getElementById('text_editor_textarea'), // message textarea
    current : 0, // current characters typed
    maximum : /page_profil=signature/.test(window.location.search) ? 1000 : 60000, // maximum characters allowed
    used : null, // node cache for used characters
    remain : null, // node cache for remaining characters
    instance : null, // sceditor instance
 
    // calculate the characters used and remaining
    calculate : function() {
      $fa_char.current = ($fa_char.instance ? $fa_char.instance.val() : $fa_char.area.value).length; // get the message length
      $fa_char.used.innerHTML = $fa_char.current; // update the current count
      $fa_char.remain.innerHTML = '<span ' + ($fa_char.current >= $fa_char.maximum ? 'style="color:#F00"' : '') + '>' + ($fa_char.maximum - $fa_char.current) + '</span>'; // update the remaining characters
    }
  };
 
  var node = document.createElement('DIV'); // container for the chararacter data
 
  node.id = 'faCharCounter'; // the id is mostly used for user defined styles
  node.innerHTML = '<span id="faCharUsed">0</span> characters used out of ' + $fa_char.maximum + ' (<span id="faCharRemain" style="color:#090">' + $fa_char.maximum + '</span> remaining)'; // define our character data
  $fa_char.area.parentNode.insertBefore(node, $fa_char.area); // insert the container before the textarea
 
  // update the node caches so we don't have to keep getting these elements
  $fa_char.used = document.getElementById('faCharUsed');
  $fa_char.remain = document.getElementById('faCharRemain');
 
  // execute another doc ready to match up with the sceditor
  $(function() {
 
    // depending if the sceditor is present, one of these events will be attached
    if ($.sceditor) {
      var container = $('.sceditor-container');
      $fa_char.instance = $($fa_char.area).sceditor('instance');
      $('textarea', container)[0].oninput = $fa_char.calculate; // source
      $('iframe', container).contents()[0].body.oninput = $fa_char.calculate; // wysiwyg
    } else $fa_char.area.oninput = $fa_char.calculate;
 
    $fa_char.calculate(); // get the current character count on page load
  });
});


This is the code I'm using right now that seems to only add it to the quick reply and ONLY when I dont hit "in all the pages" and only click "in sub forums" and "in the topics"
by Enalahs89
on 22/8/2015, 08:01
 
Search in: Scripts Problems Archives
Topic: Character Counter not adding to actual editor
Replies: 7
Views: 1066

javascript

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : Yourself
Forum link : http://brevbeta.forumotion.pro

Description of problem

so here i uploaded some scripts ; and i wanna use them but i only know rendering them using HTML
so can anyone help me?
by Rishikesh Anand
on 15/8/2015, 00:15
 
Search in: Garbage
Topic: javascript
Replies: 5
Views: 1415

How to add button to editor

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : All members
Forum link : fghelp.portalexpert.com

Description of problem

Hello!
I want to add a button to the editor. When I click on it, it should open an iFrame.
Thank you!
by Alex14
on 5/8/2015, 07:07
 
Search in: Garbage
Topic: How to add button to editor
Replies: 3
Views: 1027

Chat box fails to refresh

Technical Details


Forum version : #PunBB
Position : Administrator
Concerned browser(s) : Internet Explorer
Who the problem concerns : All members
When the problem appeared : A few months ago, I had found a thread about it that I was reading while expecting a fix. but I cant find the thread anymore.
Forum link : http://skillmates.forumotion.com

Description of problem

I'm using IE10 and the chat box wont auto refresh. I have to either click archives or refresh the entire page to see what others have said in the chat box.

I know nothing about coding so haven't changed anything in it. There used to be a "refresh" chat box to click so it auto refreshed.

Please tell me how to fix this, its so annoying.
by chief popeye
on 31/7/2015, 21:06
 
Search in: Garbage
Topic: Chat box fails to refresh
Replies: 7
Views: 924

Log in page

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : https://i.imgur.com/XL1cPR1.png
Who the problem concerns : All members
Forum link :

Description of problem

I would like to change this text in log in page. In my language it has some little mistakes, so it looks funny. Can I somehow edit it? With templates maybe?
by Ams
on 27/7/2015, 23:56
 
Search in: Scripts Problems Archives
Topic: Log in page
Replies: 5
Views: 1130

Usermenu gone wrong and other forum bugs

Technical Details

Forum version : #PunBB
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : https://i.imgur.com/rTACw3v.png https://i.imgur.com/JWQp0dm.png
Who the problem concerns : All members
When the problem appeared : 30/6 7:00 GMT+8
Forum link : http://redlustempire.forumtl.com/

Description of problem

Hi Very Happy

So basically, I have a problem with the usermenu. In the screenshot, one of them works; however, in the forum link I posted, it does not. I would like to know what's causing the problem since I'm using the same code in implementing it.

Regards,
Pizza Boi
by Pizza Boi
on 30/6/2015, 01:01
 
Search in: Scripts Problems Archives
Topic: Usermenu gone wrong and other forum bugs
Replies: 9
Views: 921

A bug of ajax-profil_edit function

Technical Details

Forum version : #Invision #PunBB #phpBB2 #phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari, Other
Screenshot of problem : https://i.imgur.com/uGAYx10.png
Who the problem concerns : All members
Forum link : http://devs.forumvi.com

Description of problem

When I upgrade jQuery library version 1.9 or higher, ajax-profil_edit function would not be used.

I have written a code to fix this here: https://help.forumotion.com/t141455-fixed-a-bug-of-ajax-profil_edit#963149

The reason that I report this bug is because ajax-profil_edit function is located in the templates which cannot be modified.
by Zzbaivong
on 22/6/2015, 12:50
 
Search in: Garbage
Topic: A bug of ajax-profil_edit function
Replies: 3
Views: 1410

Putting Copyright Links in a Custom Footer

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Safari
Screenshot of problem : https://i.servimg.com/u/f18/16/67/46/99/screen11.png
Who the problem concerns : All members
When the problem appeared : Now
Forum link : http://drogbasthemes2.forumotion.com/

Description of problem

This is confusing me.

I modified the footer template to try and get the copyright links to be in a custom footer (see screenshot). As you can see it isn't exactly working.

Here's my current footer code:

(overall footer end)
Code:
<!-- BEGIN html_validation -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<div>
<div>
<div>
<div>
<div>
<div>
<ul>
<li>
<!-- END html_validation -->
</li>
</ul>
 
<!-- BEGIN switch_footer_links -->
<ul>
<li>
<!-- BEGIN footer_link -->
<!-- BEGIN switch_separator -->&nbsp;|&nbsp;<!-- END switch_separator -->
{switch_footer_links.footer_link.FOOTER_LINK_SEPARATOR}<a name="bottom" class="copyright" href="{switch_footer_links.footer_link.U_FOOTER_LINK_HREF}" rel="{switch_footer_links.footer_link.FOOTER_LINK_REL}" target="{switch_footer_links.footer_link.FOOTER_LINK_TARGET}" title="{switch_footer_links.footer_link.L_FOOTER_LINK_TITLE}">{switch_footer_links.footer_link.L_FOOTER_LINK_TEXT}</a>
<!-- END footer_link -->
</li>
</ul>
<!-- END switch_footer_links -->
 
</div>
                                  <div id="footerbg">
<br />
                                  <table style="width: 85%; margin: auto;">
                                    <tr>
                                      <td class="heading-footer"><h4>Quick Links</h4></td>
                                      <td class="heading-footer"><h4>Important Threads</h4></td>
                                      <td class="heading-footer"><h4>Recent Posts</h4></td>
                                    </tr>
                                    <tr>
                                      <td width="30%">
                                        <a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a><br/>
                                        <a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a><br/>
                                        <a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a><br/>
<!-- BEGIN switch_delete_cookies -->
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" rel="nofollow">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
<!-- END switch_delete_cookies --></td>
                                      <td width="30%"><a href="#">Link1</a><br/>
                                        <a href="#">Link2</a><br/>
                                        <a href="#">link3</a></td>
                                      <td width="30%">Coming Soon!</td>
                                    </tr>
                                    </table>
<p class="center">
<strong>{ADMIN_LINK}</strong>
</p>
</div>
{PROTECT_FOOTER}
</div>
</div>
</div>
</div>
  </div>
<!-- BEGIN switch_facebook_login -->
<div id="fb-root"></div>
<script type="text/javascript">
    FB.init({
      appId      : {switch_facebook_login.FACEBOOK_APP_ID},
      cookie    : true,
      xfbml      : true,
      oauth      : true,
      version    : 'v2.3'
    });

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_facebook_login -->

<!-- BEGIN switch_facebook_logout_TMP -->
<script type="text/javascript">
//<![CDATA[
FB.Event.subscribe('auth.logout', function(response) {
if ($('a#logout'))
{
var lien_redir = $('a#logout').attr('href');

if ($('a#logout').attr('href') && $('a#logout').attr('href') != '')
{
document.location.href = 'http://{switch_facebook_logout.SERVER_NAME}/' + lien_redir;
}
}
});

$(document).ready( function() {
$('a#logout').click( function() {
FB.logout();
} );
} );
//]]>
</script>
<!-- END switch_facebook_logout_TMP -->

<script type="text/javascript">
//<![CDATA[
fa_endpage();
//]]>
</script>
</body>
</html>


(overall footer begin)
Code:
<!-- BEGIN html_validation -->
<div>
   <div>
      <div>
         <div>
            <div>
               <div>
                  <div>
                     <div>
<!-- END html_validation -->
                     </div>
                  </div>
               </div>
            </div>
         </div>
                 
         
      </div>
   </div>
</div>

by Mike
on 16/6/2015, 01:40
 
Search in: Garbage
Topic: Putting Copyright Links in a Custom Footer
Replies: 6
Views: 1245

Mobile version background Error

Technical Details

Forum version : #PunBB
Position : Founder
Concerned browser(s) : Safari
Screenshot of problem : https://servimg.com/view/19241541/11
Who the problem concerns : All members
When the problem appeared : 14th June 2015
Forum link : http://www.PanBlaze.com/

Description of problem

CSS Code:


Hi, I installed a theme and its working completely fine on Computer but not working properly on Mobile.

I tried replacing code to the orignal one then it was working fine but when i am updating new CSS Code, it seems error in bacground.

Humble request guys, can someone guide me with proper script for mobile version.

Regards
by DadyKing
on 15/6/2015, 08:44
 
Search in: Garbage
Topic: Mobile version background Error
Replies: 4
Views: 11023

Latest Topics

Technical Details


Forum version : #PunBB
Position : Administrator
Concerned browser(s) : Google Chrome
Who the problem concerns : All members
Forum link : ebrax.danskforum.net

Description of problem

I'm about to set up a RPG side, and I don't know how to get a 'Latest Topics' on the right.
I've also a little problem about the log in on my side. I want it to be on the right side, but it can only sit at the top.
What am I supposed to do?
by TheWolfGirl
on 30/5/2015, 18:30
 
Search in: Garbage
Topic: Latest Topics
Replies: 1
Views: 512

Back to top

Page 6 of 6 Previous  1, 2, 3, 4, 5, 6

Jump to: