jQuery Base in phpBB 3.0.12 in we_cleablue

Post Reply
Dugi
Newbie
Newbie
Posts: 4
Joined: Mon 28. Oct 2013, 13:47

jQuery Base in phpBB 3.0.12 in we_cleablue

Post 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.
Dugi
Newbie
Newbie
Posts: 4
Joined: Mon 28. Oct 2013, 13:47

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Post by Dugi »

Could someone please help me out?
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Post 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.
Image
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Post 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. ;)
Image
Dugi
Newbie
Newbie
Posts: 4
Joined: Mon 28. Oct 2013, 13:47

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Post 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?
Dugi
Newbie
Newbie
Posts: 4
Joined: Mon 28. Oct 2013, 13:47

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Post 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
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Post 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.
Image
Post Reply