vBulletin Mods

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

XenvB4 (Formerly ProjectvB4)
by ChrisTERiS
10 Jul 2020 11:13

1 Attachment(s)
Quote:

  1. Works with "Forum only" vBulletin version. Suite version still is not supported.
  2. RTL support is currently limited.
  3. I can't guarantee that it will works with any 3nd party addon. No errors but the templates will not be responsive.

XenvB4 (formerly ProjectvB4) is not just a responsive style, but a full framework adding new features to vBulletin 4.2.5
  • Responsive, mobile first design
  • Redesigned important pages
    • Forumlist
    • Threadlist
    • Showthread
    • User Profile
  • New Modern Features
    • Modal profile popup
    • Search Panle
    • User menu Panel
    • Navigation Panel
    • Advanced Footer
    • Forum Cover Photo
    • Forum Icon
    • Facebook style Profile Cover Photo
  • Included Add-on Modules
    • Donations
    • Mailinglist
    • Memberlist
    • Cookies
    • GDPR Compliance
    • Legal Agreements

Installation



XenvB4 installation is pretty easy if you follow the instructions below, step by step.
  1. If you've installed any version (Alpha or Beta) of ProjectvB4, uninstall it !!
  2. Unizip the file and upload all the files and folders from upload/ folder, to the directory where you've installed vBulletin. ATTENTION !!! If you've renamed your admincp/ directory, or if you've the admin files in a different directory, then you need to upload everything from admincp/ to your real admin directory.
  3. Go to your admincp and first import the new style from Styles & Templates-> Download/Upload Style-> Import Style
    1. Browse and select the style/xenvb4-style.xml from your computer
    2. Let "Create a New Style" as is
    3. Just in case, is better to set "Ignore Style Version" to YES
    4. Let other settings as is
    5. Click Import
  4. XenvB4 comes with a set of plugins and templates, so you need to import the product file. Select Plugins & Products-> Manage Products
  5. Click Add/Import Product and select product-xenvb4.xml from your computer. Is good to set "Allow Overwrite" to YES.

Configuration



If XenvB4 installation was successful is time to configure it. First of all you must complete the follow steps which are important for XenvB4 operation.
  1. XenvB4 add the default forum icon and forum cover to your existing forums, but you need to update the cache to see them working. If you don't do this, all your existing forums will not show any icon or cover. Goto Admincp-> Maintenance-> General Update Tools and Rebuild Forum Information.
  2. Now is time to set User Profile Avatar and Cover Photo. I never understood the reason why these dimensions are not Global but per Usergroup. So you must edit one by one all your Usergroups and modify Picture Uploading Permissions with the values:
    1. Can Upload Profile Pictures : YES
    2. Can Upload Animated Profile Picture : NO
    3. Profile Picture Maximum Width : 1200
    4. Profile Picture Maximum Height : 340
    5. Profile Picture Maximum File-Size : 1024000
    6. Can Upload Custom Avatars : YES
    7. Can Upload Animated Avatar : NO
    8. Custom Avatar Maximum Width : 150
    9. Custom Avatar Maximum Height : 150
    10. Custom Avatar Maximum File-Size : 200000
  3. Back to Maintenance-> General Update Tools and Rebuild Custom Avatar Thumbnails
  4. At xenvb4/images/ you can overwrite the default images. Even if it's ok to use images with different dimensions, I highly recommend to use the default dimensions:
    1. email_logo.png (119 X 46)
    2. footer_logo.png (250 X 60)
    3. noavatar.png (150 X 150)
    4. nocover.png (1200 X 340) for both forum cover and profile cover.

Core Modifications



Depending on your configuration, may there are some changes that you need to do in core files. Unfortunately vBulletin license does not allows distribution of core files, so you must modify them on your own.

1.- HTML Emails
If you want to replace Text emails with HTML emails, you must edit the file: includes/class_mail.php
Line 285
Replace:

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

With:

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

Line 294
Replace:

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

With

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

PS: If you already did these changes before when you installed ProjectvB4, the only change on this file is line 294

2.- Editor Emoticons
If you want to hide the emoticons from the right side of the editor to earn some space in mobile view (emoticon will still be available from the button menu), you must edit the file includes/functions_editor.php. Open it with a text editor (not Word and similar), and change line 551
From:

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

To:

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

3.- Poll icon in Forum/Thread lists
To replace the Poll icon with a FA icon, your need to edit the file includes/functions_forumlist.php line 592
From:

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

To:

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


puertoblack2003 10 Jul 2020 16:18

Hi Chris, I have a backup test board vb4.2.5 that I use for testing. I know its alpha I will go through it and report any errors. But one question what php version are you testing the style in?

ChrisTERiS 10 Jul 2020 16:24

Quote:

Originally Posted by puertoblack2003 (Post 2603445)
Hi Chris, I have a backup test board vb4.2.5 that I use for testing. I know its alpha I will go through it and report any errors. But one question what php version are you testing the style in?

I'm working it with 7.1. Currently my PHP code are simple queries, so you'll not have any problem, as long as your vB installation works.

Only in case that you want to use kh99 reCapatcha plugin, you can have issue. The original plugin works with 5.6. If you want to use it with PHP 7 you must apply the change that I wrote above and it will works fine.

puertoblack2003 10 Jul 2020 16:39

2 Attachment(s)
so far this is what I have. I was never much a fan on the block category but for testing purpose. its ok but you see it's miss aligned.
Attachment 157675

and in showthread the paragraph is to close to the left.

Attachment 157676

but so far the direction you're going will resolve it..

ChrisTERiS 10 Jul 2020 16:52

Quote:

Originally Posted by puertoblack2003 (Post 2603447)
so far this is what I have. I was never much a fan on the block category but for testing purpose. its ok but you see it's miss aligned.
Attachment 157675

and in showthread the paragraph is to close to the left.

Attachment 157676

but so far the direction you're going will resolve it..

Thank you for the feedback. The first issue is something that I haven't worked yet. Is to use replacement variables to replace icons with font-icons. Also I'll add a standard height for blocks so should not be a problem.

For the 2nd screenshot I can't understand what's wrong. Do you mean that the text is closed to the left line of blockquote?

ChrisTERiS 10 Jul 2020 17:06

Quote:

Originally Posted by puertoblack2003 (Post 2603447)

Add to additional.css this code:

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


puertoblack2003 10 Jul 2020 17:13

Quote:

Originally Posted by ChrisTERiS (Post 2603448)
Thank you for the feedback. The first issue is something that I haven't worked yet. Is to use replacement variables to replace icons with font-icons. Also I'll add a standard height for blocks so should not be a problem.

Do you mean that the text is closed to the left line of blockquote?

yes and the css didnt work

puertoblack2003 10 Jul 2020 17:15

Quote:

Originally Posted by ChrisTERiS (Post 2603449)
Add to additional.css this code:

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


actually its not a quote. its regular post message

ChrisTERiS 10 Jul 2020 17:19

Quote:

Originally Posted by puertoblack2003 (Post 2603450)
yes and the css didnt work

My bad. Should be without the dot infront. Also added !important to ignore other settings. And is better to add it to projvb/css/custom.css


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


ChrisTERiS 10 Jul 2020 17:22

Quote:

Originally Posted by puertoblack2003 (Post 2603451)
actually its not a quote. its regular post message

If you see the page code, vBulletin includes the message in a block, like:

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

Don't ask me the reason, but this is what I've seen in a few times that I was using in my mods, vB editor.

puertoblack2003 10 Jul 2020 17:25

1 Attachment(s)
Quote:

Originally Posted by ChrisTERiS (Post 2603452)
My bad. Should be without the dot infront. Also added !important to ignore other settings. And is better to add it to projvb/css/custom.css


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


alot better :up:

Attachment 157677

puertoblack2003 10 Jul 2020 17:26

Quote:

Originally Posted by ChrisTERiS (Post 2603453)
If you see the page code, vBulletin includes the message in a block, like:

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

Don't ask me the reason, but this is what I've seen in a few times that I was using in my mods, vB editor.

yes i seen that in firefox element and saw it.

Emad ELsayed 12 Jul 2020 12:09

I think it will be a wonderful development

ChrisTERiS 12 Jul 2020 12:18

I wish too :) ... I'm spending my full time for it, but I love what I see, so this gives me courage to continue. I do believe that should be a rebirth of vB4.

Emad ELsayed 12 Jul 2020 12:51

1 Attachment(s)
Quote:

Originally Posted by ChrisTERiS (Post 2603473)
I wish too :) ... I'm spending my full time for it, but I love what I see, so this gives me courage to continue. I do believe that should be a rebirth of vB4.

Hello dear
The modification after the experiment is very special
I am sure you will make it the best for VB4 return again
I have a problem viewing the forums watched the attachment
Best regards


All times are GMT. The time now is 22:16.

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.