Jump to content
Sign in to follow this  
Walnut

Official Bug Report Thread

Recommended Posts

If you find something off with the forums, please report them here.

And I've cleaned up the forum's cache, so please don't report anything unless you've experienced issues AFTER I made this topic

Thanks!

Share this post


Link to post
Share on other sites

The "Use Full Editor" button is borked for me still on Chrome. ;P

I'll be editing / updating this post as I debug and go along with everythang, mang...

Turns out some of the tabs in certain member profiles are broken. For example, if I were to try and select "Profile Feeds", nothing happens... confirming bug on other browsers.

Share this post


Link to post
Share on other sites

Alright, to fix the automatic BBCode tagging of youtube videos with the SHORTENED URL, this is what you do:

- Go to ACP -> Look & Feel -> Post Content -> Manage Media Tag

- Click "Add Media Tag" at the top

- Stick the following in:

Media Replacement Title: Youtube (URL-Shortened)

Media Replacement Match: http://youtu.be/{1} (or if you want to try with regex, http://youtu\.be/([\d\w]+) ...but the first method is surely to work)

Media Replacement HTML: <iframe width="420" height="315" src="http://www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe>

If you want people to be able to identify the size of the youtube video,

Media Replacement Title: Youtube (URL-Shortened)

Media Replacement Match: http://youtu.be/{1}/{2}/{3} (or if you want to try with regex, http://youtu\.be/([\d\w]+) ...but the first method is surely to work)

Media Replacement HTML: <iframe width="$2" height="$3" src="http://www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe>

would make "http://youtu.be/GKM6wVUQsmE/512/512" in a post create a youtube videya with a width and height of 512.

Optional, but I thought I'd add that in there.

EDIT: Yeah, I think editing posts for normal members is broken now too.

EDIT #2: NOPE. Nvm.. not for me, at least.

EDIT #3: Seems logging off and logging back on resolves the issue. I noticed that I was getting a JS error complaining about sessions... possibly related to Crim's issue. I've been unable to reproduce in my test server, so you're pretty much on your own in regards to fixing this one, Wally, as I don't have admin powuhz.

I did find that if logging off + logging back on failed to work, simply changing the themes from the current default to IP.Board and then back resolved the problems as well.

Can anyone else who is having this problem verify for me? I haven't been able to detect any JS or session-related issues after doing both.

EDIT #4: Alright, just figured out why there are some of the bugs... I might have mentioned earlier in this post regarding the profile where viewing someone's "Profile Feed" wouldn't work. The solution is to either A) Clear your cache, or refresh like a madman and then try it. It seems the problem is that the browser isn't properly clearing the cache. Nathan, my suggestion to fix this is to go to ACP->System Settings->Check off "Yes" for Print HTTP no-cache headers and leave it on for a week or so at most. This will definitely double the bandwidth usage, but it'll almost ensure that everyone's browser properly issues a purge and the caching issues should be resolved. If you don't want to try this, then anyone who reports problems will simply have to comply with doing the other idea I suggested where they either refresh like a madman or simply clear their own cache. It's your call.

I just want to make this clear that most issues seem to be related to bad server-side cache settings... it should probably be set to expire sooner, or for some reason the browser simply isn't recognizing any changes.

EDIT #5: Wally, I really gotta unlazy myself and just send you that regex. The gd-u.com really does break the software. XD

I haven't stopped laughing at this. Though, it does give me a funny idea...

http://i.imgur.com/puBZa.png

EDIT #6: Unable to reproduce the bug I encountered above... I forgot to make note that it was AFTER applying

ipb_vars['base_url'] = "https://forum.gd-u.com/index.php s=35818509c0b41bb609cc2403fcac0446&" 

in the URL... (note: between php and s, put a ?... IPB's security measures parsed that crap out when I tried making a post D: ) ...btw, wally, don't use the EXACT URL from this post. In inspector command line, type in "ipb_vars['base_url']", then edit the URL to gd-u.com/forum/ by calling "ipb_vars['base_url'] = "urlhere";"

EDIT #7: In response to Rhap's suggestion regarding the bar between two posts, it's possible to simply throw in a conditional of some type within the templates to handle this. It seems they've taken that out of the default template given that every row shows up as "row2" between the topics... which is stupid.

I apologize for taking so long with the responses... I'm trying to relearn the forum software in just a few hours while multitasking... D: anyways, Nathan, the template you're gonna want to mess with is the "post" template under Topic View when you go to manually edit the theme. So unfortunately, Rhaps, it seems that the change will have to be one of the last "final" things done as Nathan(wally) doesn't want to disable visual editing mode just to switch to manual mode. Once you go from one mode to another, there's no turning back. I guess the only solution would be to find a more saner color for the bar making it... you know, darker maybe? That way it just "stands out" like a sore thumb until this theme is deemed final enough to where it can be set to manual mode.

EDIT #8: So I came up with a decent filler color for .row2 in ipb_styles.css.... #1969C5 !important

Oh, got bored of the fugly fonts at the bottom... in ipb_styles.css

#copyright {

  • text-align: right;
  • text-shadow: 1px 1px 1px white;

}

#copyright a {

  • color: #000505;

}

#ipsDebug_footer {

  • width: 900px;
  • margin: 8px auto 0px auto;
  • text-align: center;
  • color: #000505;
  • text-shadow: 1px 1px 1px white;
  • font-size: 11px;

}

Shame that these'll have to wait until you can switch the theme to manual mode. D:

http://i.imgur.com/DeWAO.png

http://i.imgur.com/O4zkr.png

What do you guys think of the bar there ^^? It's a "mockup" shot just out of bordem.

Edited by gm112

Share this post


Link to post
Share on other sites

Ok guys I turned off the forum's cache per gm's suggestion and that should solve most of the software bugs... If you find anything else please report it. Until then I'm gonna work on skins some today

Share this post


Link to post
Share on other sites

Just keeping track of proposed changes to the CSS once you're ready to put them in...

On .maintitle in ipb_styles, do this



.maintitle {
background: #2c5687 url(https://forum.gd-u.com/public/style_images/master/maintitle.png) repeat-x top;
color: #fff;
padding: 10px 10px 11px; /* change this to 10px 10px 3px; */
font-size: 16px;
font-weight: 300;
-moz-border-radius: 4px 4px 0 0;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-radius: 4px 4px 0 0;
-webkit-box-shadow: inset 0px 1px 0 #528cbc;
-moz-box-shadow: inset 0px 1px 0 #528cbc;
box-shadow: inset 0px 1px 0 #528cbc;
border-width: 1px 1px 0 1px;
border-color: #316897;
border-style: solid;
}

In ipb_styles.css, try to find the CSS class "a" which is for hyper links, then add:

text-shadow:1px 0px 1px rgba(0, 0, 0, 0.5); 

Find .post_block and do this:

background: white !important;
background-color: white !important;
border-color: #C7D7FA !important; /* change this to #000 !important; */
}

and this will add a black bar between each posts.

Find .row2, .post_block.row2




.row2, .post_block.row2 {
background: #EDF2FD !important; /* Change to #C7D6FF !important;*/
background-color: #EDF2FD !important;  /* Change to #C7D6FF !important;*/
}

Go find .signature


.signature {
clear: right;
color: #A4A4A4; /* change to #4F4F4F; */
font-size: 0.9em;
border-top: 1px solid #D5D5D5;
padding: 10px 0;
margin: 6px 0 4px;
position: relative;
}

EDIT:

To fix the missing magnifying glass up on the search bar, go to ipb_skingen.css and look for the following:

Method 1


#search .submit_input {
background: #1044B1 !important; /* add "url(https://forum.gd-u.com/public/style_images/master/search_icon.png) no-repeat 50%" after the color HEX and before the !important string */
background-color: #1044B1 !important;
border-color: #1043B1 !important;
}

Or you can remove the "!important" strings from background and find the following in ipb_styles.css

Method 2


#search .submit_input {
background: #7BA60D url(https://forum.gd-u.com/public/style_images/master/search_icon.png) no-repeat 50%; /* change #7BA60D to #1044B1 and then after 50%, add !important */
text-indent: -3000em;
padding: 0;
border: 0;
border: 1px solid #7BA60D;
display: block;
width: 26px;
height: 26px;
position: absolute;
right: 0;
top: 0;
bottom: 0;
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
-webkit-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
-moz-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
}

Either is your choice, really

Edited by gm112

Share this post


Link to post
Share on other sites

Not quite a bug, but now every time I get a PM, a get a mark on my PM icon, and on the notification icon, No need to see that I have a PM twice and check PMS both methods to get the mark to go away.

Not quite a bug, but now every time I get a PM, a get a mark on my PM icon, and on the notification icon, No need to see that I have a PM twice and check PMS both methods to get the mark to go away.

Also, The notification mark isn't even going away even when I click on the link in the notification message (to view my PM for the second time, or visit gm112's profile for no reason >_< lol)

And yeah, trying to edit my post ended up with me getting the error rhaps said after posting the edit, then me going back, seeing my post down here in this quick post place, so I posted that, not realising it had doubled up parts in it and again cannot edit it, so that's how it's going to be left for now I guess! lol

Oh.... it's automatically merging double posts, I see :P

Share this post


Link to post
Share on other sites

Not quite a bug, but now every time I get a PM, a get a mark on my PM icon, and on the notification icon, No need to see that I have a PM twice and check PMS both methods to get the mark to go away.

Not quite a bug, but now every time I get a PM, a get a mark on my PM icon, and on the notification icon, No need to see that I have a PM twice and check PMS both methods to get the mark to go away.

Also, The notification mark isn't even going away even when I click on the link in the notification message (to view my PM for the second time, or visit gm112's profile for no reason >_< lol)

And yeah, trying to edit my post ended up with me getting the error rhaps said after posting the edit, then me going back, seeing my post down here in this quick post place, so I posted that, not realising it had doubled up parts in it and again cannot edit it, so that's how it's going to be left for now I guess! lol

Oh.... it's automatically merging double posts, I see :P

Yeah, Chrome doesn't like to play nice when it comes to purging cache. Just refresh the page like a madman.

Share this post


Link to post
Share on other sites

Mmm Luke I'll look into those issues. And yeah IPB always has merged double posts if you make them recently together. That feature bugs me a little bit but I got used to it

Anyway gm volunteered to work on the BBS theme so I'm letting him do that one while I tool with the GDU theme. I added the images back in for now and I'm calling this one "final" until I actually finish it, its more than usable now imo

Hopefully within a few days everything will be back up. And hopefully Invision doesn't release 3.3 within the next few weeks :D

Share this post


Link to post
Share on other sites

i found a bug.... but i squished it.

in other news, is it a bug if my username or pass doesnt want to save? im very lazy lol.

Share this post


Link to post
Share on other sites

Mmm Luke I'll look into those issues. And yeah IPB always has merged double posts if you make them recently together. That feature bugs me a little bit but I got used to it

Anyway gm volunteered to work on the BBS theme so I'm letting him do that one while I tool with the GDU theme. I added the images back in for now and I'm calling this one "final" until I actually finish it, its more than usable now imo

Hopefully within a few days everything will be back up. And hopefully Invision doesn't release 3.3 within the next few weeks :D

I think I turned off the merge double post for admins or something at some point in time, as I didn't want it to merge my intended double posts.

And gm112 did tell me to f5 like a mad man, so maybe doing that will fix some of those problems if they've already been fixed then :o

Share this post


Link to post
Share on other sites

I've finished writing the patch that fixes the javascript bug in IP.Board for multi-domain hosted sites. In the process, it turns out that IP.Board's template parser dislikes nested conditionals... but that's alright, I've worked around it. This will be integrated into the brand new theme.

Find IncludeVars template under Global Template, change

ipb.vars['base_url']  = '<if test="$this->registry->output->isHTTPS">{parse expression="str_replace( 'http://', 'https://', "{$this->settings['js_base']}" )"}<else />{parse expression="str_replace( 'forum.gd-u.com', 'gd-u.com/forum', "{$this->settings['js_base']}")"}</if>';

To the following --


<if test="$_SERVER['SERVER_NAME'] != "gd-u.com" || $_SERVER['SERVER_NAME'] != "www.gd-u.com"">    
ipb.vars['base_url']  = '<if test="$this->registry->output->isHTTPS">{parse expression="str_replace( 'http://', 'https://', "{$this->settings['js_base']}" )"}<else />{$this->settings['js_base']}</if>';
                <else />
ipb.vars['base_url']  = '<if test="$this->registry->output->isHTTPS">{parse expression="str_replace('forum.gd-u.com', "{$_SERVER['SERVER_NAME']}/forum", "{parse expression="str_replace( 'http://', 'https://', "{$this->settings['js_base']}" )"}")"}<else />{parse expression="str_replace( 'forum.gd-u.com', "{$_SERVER['SERVER_NAME']}/forum", "{$this->settings['js_base']}")"}</if>';

...and the issue _should_ be resolved.

Edited by gm112

Share this post


Link to post
Share on other sites

Walnut, I will be posting the packages for project//Magus 2.0 within the next day or two... saturday the latest. I'll be busy today running around campus after class.. plus, I'll be finally rebuilding my front-end on my car, so we'll see how that goes.

But off-topicness aside, the theme's pretty much done. If there are any quirks remaining that I simply forgot about, just inform me and I'll fix. There will be instructions posted(though, it should be a painless process) in where to extract the theme files for the post editor, since that's actually a separate thing from IP.Board. Kinda dumb that they picked a 3rd party editor and didn't even take the time to INTEGRATE IT! D:

But oh well... it should port to newer versions fine. My testing indicates that this is the case since IPB uses an older version of CKEditor.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...