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

Beitragvon Dugi » Mo 28. Okt 2013, 14:57

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

Beitragvon Dugi » Fr 1. Nov 2013, 13:08

Could someone please help me out?

Benutzeravatar
Marc
Administrator
Administrator
Beiträge: 619
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitragvon Marc » Di 5. Nov 2013, 20:09

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: 619
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitragvon Marc » Di 5. Nov 2013, 20:47

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

Beitragvon Dugi » Mi 6. Nov 2013, 14:56

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

Beitragvon Dugi » Mi 6. Nov 2013, 15:19

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: 619
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: jQuery Base in phpBB 3.0.12 in we_cleablue

Beitragvon Marc » Mi 6. Nov 2013, 19:09

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


Zurück zu „phpBB jQuery Base“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste