Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
XenvB4 (Formerly ProjectvB4) Details »»
XenvB4 (Formerly ProjectvB4)
Version: 1.0.1, by ChrisTERiS ChrisTERiS is offline
Developer Last Online: Sep 2021 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.5 Rating:
Released: 07-09-2020 Last Update: 11-06-2020 Installs: 13
DB Changes Uses Plugins Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

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:
Code:
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset="$encoding"") . $delimiter;
With:
Code:
 	
$headers .= 'Content-Type: text/html' . iif($encoding, "; charset="$encoding"") . $delimiter;
Line 294
Replace:
Code:
	
$this->message = $message;
With
Code:
 	
$this->message = str_replace("{message_bodytext}", nl2br($message), $vbulletin->options['xenvb4_mail_template']);
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:
Code:
 	
$usesmiliebox = true;
To:
Code:
 	
$usesmiliebox = false;
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:
Code:
 	
return array('iconpath' => vB_Template_Runtime::fetchStyleVar('imgdir_misc') . "/poll_posticon.gif", 'title' => $vbphrase['poll']);
To:
Code:
 	
return array('iconpath' => '<i class="fa fa-bar-chart" aria-hidden="true" title="'.$vbphrase['poll'].'" style="float:left; margin-right:7px; color:green; font-size:18px;"></i>');

Download Now

File Type: zip XenvB4_ver_1_0_1.zip (2.18 MB, 60 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Hostboard, puertoblack2003, RaYdeN.ADM, yin9

Comments
  #42  
Old 07-27-2020, 04:36 PM
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Location: United Kingdom
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mako1590 View Post
Would you thinking about publish your version to the public ?
Wouldn't be possible without breaching several laws, unfortunately. I'd write a guide but there was more extensive things I added like using filp/whoops for error pages instead of the built-in vB error handler, and it would take forever to filter things like that out.
Reply With Quote
  #43  
Old 07-28-2020, 08:52 AM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New licenses can't even download vBulletin 4.x

So, you're either doing all this for existing customers who refuse to move on ...

or you're wasting your time.
Reply With Quote
  #44  
Old 07-28-2020, 09:30 AM
ChrisTERiS's Avatar
ChrisTERiS ChrisTERiS is offline
 
Join Date: Dec 2019
Location: Thessaloniki, Greece
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by In Omnibus View Post
New licenses can't even download vBulletin 4.x
This is an advantage, not disadvantage. No updates means no extra work to adjust my code with any new release.
Quote:
Originally Posted by In Omnibus View Post
So, you're either doing all this for existing customers who refuse to move on ...
Even if there are some of them, I mainly do it for my own use and pleasure.
Quote:
Originally Posted by In Omnibus View Post
or you're wasting your time.
Be sure that I'm not wasting my time There are thousands left alone in the ship. Even for vB3. Do you know how many new Admins started a forum with vBulletin latelly? When they can find a license for less than $50, why not give a try?
Reply With Quote
  #45  
Old 07-29-2020, 05:51 PM
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Location: United Kingdom
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by In Omnibus View Post
New licenses can't even download vBulletin 4.x

So, you're either doing all this for existing customers who refuse to move on ...

or you're wasting your time.
In fairness, I think people are more likely to want to stick with vB4 than upgrade and move over to the absolute mess that is vB5.
Reply With Quote
3 благодарности(ей) от:
cdoyle, ChrisTERiS, z3r0
  #46  
Old 07-29-2020, 11:07 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by x iJailBreak x View Post
In fairness, I think people are more likely to want to stick with vB4 than upgrade and move over to the absolute mess that is vB5.
vB5 is not "a mess" but you would have to be using it to know that.
Reply With Quote
  #47  
Old 07-30-2020, 01:40 PM
ChrisTERiS's Avatar
ChrisTERiS ChrisTERiS is offline
 
Join Date: Dec 2019
Location: Thessaloniki, Greece
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by In Omnibus View Post
vB5 is not "a mess" but you would have to be using it to know that.
Only if you want to use it just for forum.
Reply With Quote
  #48  
Old 07-31-2020, 01:00 PM
mako1590 mako1590 is offline
 
Join Date: May 2011
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChrisTERiS View Post
Only if you want to use it just for forum.
I Added a Thread on your forum with all the bugs i found
take a look
Reply With Quote
Благодарность от:
ChrisTERiS
  #49  
Old 07-31-2020, 01:03 PM
ChrisTERiS's Avatar
ChrisTERiS ChrisTERiS is offline
 
Join Date: Dec 2019
Location: Thessaloniki, Greece
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mako1590 View Post
I Added a Thread on your forum with all the bugs i found
take a look
Give a couple of hours to test it Have stressed myself to finish the extra features today, and I'm feeling so weak now. Most probably i'll check it tomorrow morning (in around 14h from now).
Reply With Quote
  #50  
Old 07-31-2020, 01:04 PM
ChrisTERiS's Avatar
ChrisTERiS ChrisTERiS is offline
 
Join Date: Dec 2019
Location: Thessaloniki, Greece
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just finished "everything" ... Well, to be more specific, that "everything" at this time has a general meaning.

This project started with focus to be a responsive vB4 style. This done. Also my intention was to give a fresh style (simple style), with focus to "Mobile first". I believe that this also done. Third plan was to release some extra features like:
  • Cookies Policy
  • GDPR compliance features
  • Modal Profile with basic member info
  • Modal Login/Register
  • A simple Mailinglist
  • A simple Donation form with IPN support
  • HTML system emails
  • A powerful Footer section
  • Memberlist replacement
All of them added and at least in my test, seem to work fine. The problem is that some of these features were plan for the PRO version. I'll think how to resolve this.

What is still missing:
  • RTL currently is partial supported
  • Forum only version works. So the Suite version is still unsupported
  • Even if all pages are responsive, some of them are still with the old interface. Responsive but not updated. Maybe I missed a couple of pages, but is so hard to check all of them. This can be done only in real use. What I care most, is to have all member links in all pages, opening the modal window. For sure in the most important pages this works, but needs very deep check to find what left out.
Reply With Quote
  #51  
Old 08-02-2020, 12:37 AM
abcde abcde is offline
 
Join Date: Feb 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Christeris,
I love this project, however I got this message after installed. any idea why?

Code:
[] operator not supported for strings on line 51 in /home/vvv/public_html/h/includes/class_bootstrap.php(433) : eval()'d code
#0 /home/vvv/public_html/h/includes/class_bootstrap.php(433): eval()
#1 /home/vvv/public_html/h/includes/class_core.php(4391): vB_Bootstrap->process_templates()
#2 /home/vvv/public_html/h/includes/class_core.php(4349): vB_Template->__construct('forumhome_forum...')
#3 /home/vvv/public_html/h/includes/functions_forumlist.php(467): vB_Template::create('forumhome_forum...')
#4 /home/vvv/public_html/h/forum.php(611): construct_forum_bit(-1)
#5 {main}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05042 seconds
  • Memory Usage 2,374KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_code
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete