Page 1 of 1

jQuery Base in phpBB 3.0.12 in we_cleablue

Posted: Mon 28. Oct 2013, 13:57
by Dugi
I've tried quite a lot to get this to work, but I couldn't make it. First, this MOD messed my whole board up. First I thought it's a conflict with mChat, but then I deleted the jQuery include in jquery_base/jquery_base_header.html and left only one jQuery library (the latest) in overall_header.html.

The edits were done all nicely, manually, not through AutoMOD. I went to refresh my style components and... awesome... the messy look went away. I straight went to the footer to see if everything's alright there and saw this: http://i.imgur.com/JMvsJwJ.png

I automatically assumed that the MOD got installed successfully and I let this footer issue to be fixed later on.

Now to the interesting part: I went to a topic. The sad thing that occurred here is that there was no Quick Edit button at all and my quickreply wasn't posting/submitting asynchronously. Everything is at its normal state, like that MOD wasn't installed at all.

Same goes for the quick log in, it's not popping up that little window to enter my credentials.

This is really strange and I'm really needing this MOD. What would the solution be?

My style: we_clearblue

P.S: This is all happening on my localhost.

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Posted: Fri 1. Nov 2013, 12:08
by Dugi
Could someone please help me out?

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Posted: Tue 5. Nov 2013, 19:09
by Marc
Sorry for the late reply, was a little bit busy. I'll try to install that style with jQuery Base on my localhost and see what I can do for you.

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Posted: Tue 5. Nov 2013, 19:47
by Marc
Removing the jQuery link isn't really the way to go. Please put them back.

Then, open we_clearblue/template/jquery_base/jquery_base_footer.html
Find:

Code: Select all

<div id="container">
Replace with:

Code: Select all

<div id="pjb-container">
Open we_clearblue/template/jquery_base/jquery_base_header.html
Find every occurence of:

Code: Select all

#container
And replace the with:

Code: Select all

#pjb-container
That should take care of things. ;)

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Posted: Wed 6. Nov 2013, 13:56
by Dugi
Well, one of the jQuery includes has to go and I have other MODs that rely on jQuery as well. What would be the way to go?

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Posted: Wed 6. Nov 2013, 14:19
by Dugi
Ignore my jQuery include comment. Anyway...

1) Quickedit will not open the window to edit the message, but it wont submit it. Advanced Edit and Cancel are working.
2) Messages are not getting submitted/posted through jQuery, the page is still reloading
3) The success message in the footer is not showing up
4) Logging in does not give me the jQuery box to enter the credentials

I guess that this issue of mine got only partially fixed.

This is how my header looks like now (page source): http://pastebin.com/KjeyFETJ

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Posted: Wed 6. Nov 2013, 18:09
by Marc
Ok, I'll just upload the whole we_clearblue so you can compare it with yours:
we_clearblue.zip
(1.01 MiB) Downloaded 2086 times
I did have to adjust jquery_base_header.html a little bit again due to the different login link.
Find:

Code: Select all

	// Quick Login
	pjb('.icon-logout a').click(function(event) {
Replace with:

Code: Select all

	// Quick Login
	pjb('a[title="{L_LOGIN_LOGOUT}"]').click(function(event) {
Success messages only appear if you enable them in the ACP settings.