Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KIЯBYFAN91

Pages: [1] 2
1
General Support / Re: EzPage editing
« on: March 21, 2013, 04:47:38 pm »
Yes under ezPortal settings
That's for EzBlock, not EzPage.

2
Create a Forum Codes and Support / Re: [code] Auto-resize large images
« on: March 21, 2013, 04:45:42 pm »
Sorry to bring this to life, but I thought it would be better to pose the question here instead of creating a new thread about it. This code is simply amazing, thank you to whoever did it! I just have a question. After I have it, there's this tiny image and not saying the image was resized and to view it in full size, we need to click on it. Also, under the image it also says "Image Resizing Script <>". Isn't there a way to keep the feature but to delete these notes?


Thanks.
UNTESTED CODE W/O NOTES
Code: [Select]
<style type="text/css">
div.resized_image p {
  margin: 2px;
  margin-top: 0;
  font-size: 8px;
  /* Awesome icon from here: http://www.famfamfam.com/lab/icons/silk/ */
  background: url(http://i242.photobucket.com/albums/ff244/9861_omikron/error.png) no-repeat;
  padding-left: 20px;
  color: #333;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
  (
    function(maxht, maxwt, minht, minwt) {
      var imgs = $(".post_wrapper img.bbc_img");
      // Image resizing function
      var resize_image = function(img, newht, newwt) {
        img.height = newht;
        img.width  = newwt;
        $(img).wrap('<table><tr><td class="plainbox"><div class="resized_image"><a href="' + img.src + '" target="_blank"></a><></td></tr></table>');
     
      for (var i = 0; i < imgs.length; i++) {
        // Set a variable for the current image to make the code make more sense.
        var img = imgs[i];
        if (img.height > maxht || img.width > maxwt) {
          // Use Ratios to constraint proportions.
          var old_ratio = img.height / img.width;
          var min_ratio = minht / minwt;
          // If it can scale perfectly.
          if (old_ratio === min_ratio) {
            resize_image(img, minht, minwt);
          }
          // We need to do some magic now.
          else {
            var newdim = [img.height, img.width];
            // Sort out the height first.
            newdim[0] = minht;
            // The logic behind this is that if ratio = ht / wt, then wt = ht / ratio.
            newdim[1] = newdim[0] / old_ratio;
            // Do we still have to sort out the width?
            if (newdim[1] > maxwt) {
              // Just do what we did with the height
              newdim[1] = minwt;
              newdim[0] = newdim[1] * old_ratio;
            }
            // So yeah, resize the image
            resize_image(img, newdim[0], newdim[1]);
          }
        }
      }
    }
  )(500, 500, 500, 500);
});
</script>

3
General Support / Re: Question
« on: March 21, 2013, 04:41:29 pm »
After 45 days ads are shown.
And words get censored

4
General Support / EzPage editing
« on: March 21, 2013, 04:39:40 pm »
When I edit the page I get the WYSIWYG editor, and I change it to the HTML editor, which removes the coding I had before

Is there a way to get it to HTML by default or so it doesn't remove all my code

5
Suggestions / 2 suggestions: censor whitelist and censor override
« on: March 06, 2013, 06:02:22 pm »
Censor override would be to change the **** auto-censors into your own little censors. I wanted to censor b**** to glitch, but it still appeared as ****.

And censor whitelist would be for censoring dick, but allowing Moby Dick, Dickens (for talking about the author of A Christmas Carol and stuff), etc.

6
General Support / Re: Log in from another website?
« on: March 06, 2013, 05:55:00 pm »
The login form in html is
Code: [Select]
        <form action="http://url.createaforum.com/index.php?action=login2" name="frmLogin" id="frmLogin" method="post" accept-charset="ISO-8859-1" onsubmit="hashLoginPassword(this, \'7fc773f3c5525a9e83f5240bb0cae348\');">
        <div class="tborder login">
            <div class="cat_bar">
                <h3 class="catbg">
                    <span class="ie6_header floatleft"><img src="http://images.smfboards.com/caf/images/icons/login_sm.gif" alt="" class="icon"> Login</span>
                </h3>
            </div>
            <span class="upperframe"><span></span></span>
            <div class="roundframe"><br class="clear">
                <dl>
                    <dt>Username:</dt>
                    <dd><input type="text" name="user" size="20" value="" class="input_text"></dd>
                    <dt>Password:</dt>
                    <dd><input type="password" name="passwrd" value="" size="20" class="input_password"></dd>
                </dl>
                <dl>
                    <dt>Minutes to stay logged in:</dt>
                    <dd><input type="text" name="cookielength" size="4" maxlength="4" value="120" class="input_text"></dd>
                    <dt>Always stay logged in:</dt>
                    <dd><input type="checkbox" name="cookieneverexp" class="input_check" onclick="this.form.cookielength.disabled = this.checked;"></dd>
                </dl>
                <p><input type="submit" value="Login" class="button_submit"></p>
                <p class="smalltext"><a href="http://url.createaforum.com/index.php?action=reminder">Forgot your password?</a></p>
                <input type="hidden" name="hash_passwrd" value="">
            </div>
            <span class="lowerframe"><span></span></span>
        </div></form>
        <script type="text/javascript"><!-- // --><![CDATA[
            document.forms.frmLogin.user.focus();
        // ]]></script>

Replace url.createaforum.com with your forum's to get your forum's html login form

I have no idea how to merge them, but I know that MediaWiki has an extension that merges logins with a Simple Machines Forum (aka SMF)

7
Style Support / Re: Making custom tabs only viewable by members
« on: February 21, 2013, 09:42:21 pm »
Try my hide tabs code: http://support.createaforum.com/5/(code)-hide-tabs-v2/
That hides it for everyone. I just want to hide it for guests

8
General Support / Re: Domain Name
« on: February 21, 2013, 08:43:24 pm »
How? I am trying to transfer my site over. What do I need to do and how?
Ask CreateAForum if he can do it.

9
Style Support / Re: Making custom tabs only viewable by members
« on: February 21, 2013, 05:17:01 pm »
Okay then. I'll have a redirect board to the chat then, although I would rather have it as a tab.
Underlined text is text added in an edit.

10
Style Support / Making custom tabs only viewable by members
« on: February 21, 2013, 04:55:49 pm »
I added a chatroom tab for an ezPage with my forum's chatroom embedded on it, with guests unable to enter, but if guests click it they will get a permission error. I would like for the tab to be only viewable for viewable members, thanks.

11
General Support / Re: Moderator stars
« on: February 21, 2013, 03:34:06 pm »
Thank you so much! I hadn't been able to find it.  :)
You're welcome ;)

12
General Support / Re: Moderator stars
« on: February 21, 2013, 02:25:10 pm »
I have deleted the dark blue stars (Global moderator) in admin by mistake, and can't find the code to get them back! I have looked in the Star Preview, but there are no dark blue ones there, only purple and aqua. I have put in 1starblue in the box, but that is not recognised! Can someone help, please?
stargmod.gif (you may have already found this)

13
General Support / Re: Domain Name
« on: February 21, 2013, 02:11:18 pm »
I have been talking with my domain/hosting provider and they said that in order to transfer the site clansofthewaterfalls.createafourm.com over to the new hosting/domain site that I would need access to the files to transfer them. Is there a way to access the files?
AFAIK only CreateAForum (the user) can do that

14
Suggestions / Re: Smiley updating
« on: February 21, 2013, 02:04:58 am »
I meant adding the new(ish) default smileys for all CAF forums
Also, Aaron is different

15
General Chat / Re: How Old Is Your Forum?
« on: February 21, 2013, 01:15:35 am »
One of mine was created on November 11, 2011
My other one was recently created on February 3, 2013

Pages: [1] 2