jQuery Base in phpBB 3.0.12 in we_cleablue

Dugi
Newbie
Newbie
Beiträge: 4
Registriert: Mo 28. Okt 2013, 14:47

jQuery Base in phpBB 3.0.12 in we_cleablue

Beitrag von 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
Beiträge: 4
Registriert: Mo 28. Okt 2013, 14:47

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitrag von Dugi »

Could someone please help me out?
Benutzeravatar
Marc
Administrator
Administrator
Beiträge: 620
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitrag von 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.
Bild
Benutzeravatar
Marc
Administrator
Administrator
Beiträge: 620
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitrag von 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: Alles auswählen

<div id="container">
Replace with:

Code: Alles auswählen

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

Code: Alles auswählen

#container
And replace the with:

Code: Alles auswählen

#pjb-container
That should take care of things. ;)
Bild
Dugi
Newbie
Newbie
Beiträge: 4
Registriert: Mo 28. Okt 2013, 14:47

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitrag von 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
Beiträge: 4
Registriert: Mo 28. Okt 2013, 14:47

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitrag von 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
Benutzeravatar
Marc
Administrator
Administrator
Beiträge: 620
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitrag von Marc »

Ok, I'll just upload the whole we_clearblue so you can compare it with yours:
we_clearblue.zip
I did have to adjust jquery_base_header.html a little bit again due to the different login link.
Find:

Code: Alles auswählen

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

Code: Alles auswählen

	// Quick Login
	pjb('a[title="{L_LOGIN_LOGOUT}"]').click(function(event) {
Success messages only appear if you enable them in the ACP settings.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Bild