vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=249277

tekmaster 19 Jan 2012 00:41

Quote:

Originally Posted by dartho (Post 2289662)
There is no regiuster option - I've yet to do the registration page (go direct to register.php and you'll see). You could easily enough add it in if desired...

thanks for the quick response, I compared a few of your screenshots and saw the notices box, I used that to do substitute as the register redirect,

thanks

sportsfroma2 19 Jan 2012 13:30

Quote:

Originally Posted by dartho (Post 2289299)
If you wish to make this change manually, edit ini.php and
search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

very minor thing, but just wanted to point out that the changes need to be made in init.php (not ini.php).

Anyway, after that fix it works great for me in 4.1.10.

keep up the great work, thanks alot dartho :up:

dartho 20 Jan 2012 00:01

correct - that's a typo , fixed now

doobiefillin 21 Jan 2012 01:18

where do i find init.php?

dartho 21 Jan 2012 02:10

it's a vbulletin file, located in the <forumroot>/includes directory

Alan_SP 21 Jan 2012 18:16

Just found out this:

In template FORUMDISPLAY you use this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Use instead phrase {vb:rawphrase post_new_thread}

So that there is this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Problem is that my language (Croatian) is a bit more complicated than English and I know that this is similar with Spanish, German and many more of them. It is correct phrase for this button and it's much better to use it instead two phrases.

Hippy 25 Jan 2012 12:08

this style produces a number of coding errors and warnings
some are a easy fixes ..

pop your url in there http://validator.w3.org/ once you selected your mobile style youll have this at the end of the url "?styleid=4" < your style # will be in place of the 4 here ( meaning what ever number is assigned to your mobile style

most errors are coming from the header template what seems to be open <imput> and <img> or they should be contained in <form> or something to make valid..

deverill2010 25 Jan 2012 18:48

Dartho I am on version 1.0.0 on the latest VB 4.1.10, You mod has 63 template conflict merge things.

U'm im not really sure what to do, I don't know if I need to update, I don't know how to update and I made some custom changes didn't i (I doubt you remember as I don't lol).

Can you tell me please how to update the style and how to keep the colours etc as i don't want to be faffing with that again.
Thanks

djbaxter 25 Jan 2012 21:16

Quote:

Originally Posted by deverill2010 (Post 2292328)
Dartho I am on version 1.0.0 on the latest VB 4.1.10, You mod has 63 template conflict merge things.

U'm im not really sure what to do, I don't know if I need to update, I don't know how to update and I made some custom changes didn't i (I doubt you remember as I don't lol).

Can you tell me please how to update the style and how to keep the colours etc as i don't want to be faffing with that again.
Thanks

Solution: re-import the style, selecting "merge with" the name of your current mobile style, and it should resolve all those "conflicts".

deverill2010 26 Jan 2012 14:50

1 Attachment(s)
Ok I reimported the style but one issue i am having is I can't post as a guest, although I have guest posting enabled.

Also what is this box on the left?
See pic.

Mark.B 27 Jan 2012 19:22

Those with the "<br />" issue.

I have just spent an hour or so sorting this out and I think I have a solution. I think this only works if you have the lightweight style options hack as well.

The issue: Reply to thread still uses CKEditor. If you switch the template back to a simple textarea, as it was before, the quote isn't passed.

To fix:

Copy the contents of template editor_toolbar_off to editor_ckeditor.

This gives you the quote, but gives you all sorts of <br /> tags and other HTML stuff.

This issue is caused when the user has the WYSIWYG set, so we need to turn that off in the mobile style.

Add the following plugin:

Product: Lightweight Style Options
Hook Location: editor_toolbar_switch
Execution order: 5
PHP Code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Give it a whirl, seems to have worked for me.

dartho 27 Jan 2012 21:28

Thanks Mark, I'm pretty sure this was resolved in the latest version of this style after finding a fix (initially with a plugin like yours) and then with a template edit (plugin no longer required) which was put into the latest version.

Check this post: http://www.vbulletin.org/forum/showt...17#post2275317

Mark.B 27 Jan 2012 21:36

Quote:

Originally Posted by dartho (Post 2293229)
Thanks Mark, I'm pretty sure this was resolved in the latest version of this style after finding a fix (initially with a plugin like yours) and then with a template edit (plugin no longer required) which was put into the latest version.

Check this post: http://www.vbulletin.org/forum/showt...17#post2275317

I did have a crack at that but still didn't manage to get it quite right....my issue was that I could get the quote passed through correctly, but only into a cut-down CKEditor (in which case, line breaks fail on iOS devices). Or, I could get the plain text box but no quote was passed through.

Admittedly I'm on an older version but none of the posted fixes worked correctly for me. I can't easily upgrade due to all the customising I've done.

In the finish I found adding the plugin and then using the original (pre-CKEditor) version of the mobile style's newreply template has sorted it for me.

dartho 27 Jan 2012 21:37

Quote:

Originally Posted by deverill2010 (Post 2292701)
Ok I reimported the style but one issue i am having is I can't post as a guest, although I have guest posting enabled.

Also what is this box on the left?
See pic.

That box is vBuilletin's 'Autosave' - the latest version of this style shouldn't have it if you updated teh lightweight.css.php file, as you haven't, you'll need to do it yourself.
Edit the lightweight.css.php file, search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and add immediately above:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should do it.

I don't know how vBulletin's merge feature works - I've never had much luck with it. If you've customised templates it's best to note changes and reapply them. Best thing to do is install latest version as a fresh style and leave your existing one in place so you can reference it. The same applies for the lightweight.css.php file - this is where you would have made colour changes.

The Rocketeer 02 Feb 2012 06:01

Quote:

Originally Posted by dartho (Post 2289299)
If you wish to make this change manually, edit init.php and
search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is not necessary for 4.1.10 users, is it? :confused:


All times are GMT. The time now is 23:04.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.