Version: 1.3.1, by vbFreelancers
Developer Last Online: May 2008
Category: Major Additions -
Version: 3.7.0 Beta 3
Rating:
Released: 01-10-2008
Last Update: 01-14-2008
Installs: 44
DB Changes Uses Plugins Template Edits
Additional Files Translations Is in Beta Stage
No support by the author.
Removed by the Author due to luck of free time to support it. ------------------------------------------------------------
vbF Journal Article Publishing Module
by
1.-Credit goes to:
MicroHellas, as this module has developed by her.
Olympic, for his corrections to secure this module according to vB's standards.
2.- General information
This module is mainly for use for Article posting with 1 photo. Unlike vbNews and vbArticles which are using 3nd party HTML editor, vbJurnal uses vB's Editor.
Editors choice Articles
Breaking Articles
Important Articles
RSS per category
Newest Articles by category
Most Active Authors (according to the number of post Articles)
All these blocks can be turn off in case that you don't need them, by setting 0 as the number of appearing articles
All these blocks are following the active category. eg Breaking news in main page shows articles from all categories. Breaking news while you're in X category shows breaking news from X category only.
3.- Installation
Open vbjournal.php file with a text editor like notepad. At line 9 you'll find a variable: $mydateformat = 'm/d/Y'; This is set to default US date format. You can change it according to your country's setting eg. for UK d/m/Y or for other European countries to d.m.Y or d-m-Y. You can also add the time if you want. eg 'd/m/Y H:ia' this will give 20/8/2007 14:15pm. The reason that I didn't used the internal vbdate function is because that some users from Scandinavian countries, Spain and France had problems with vbdate().
Upload the contains of /forum directory to the same directory where you've installed vBulletin. Please note that if you've another vbF module already installed, you'll get a message for file "loading.gif" that already exists. Don't worry. You can skip or overwrite it as it's the same image.
CMOD following directories to 777
/photos (inside vbjournal directory)
/tmp (inside vbjournal directory)
/thumbs (inside vbjournal/photos directory)
For security reasons backup your database AND turn your board off
Check at your AdminCP->vBulletin Options->Plugin/Hook System that Plugin system is enabled.
From your AdminCP->Plugin System->Manage Products choose Add/Import Product and import the product: product_vbjournal.xml
If you want to add a link to your nav bar then you must edit the NAVBAR template:
By default none usergroup has permissions to use vbjournal, so you need to give permissions to any group. Goto AdminCP->Usergroups->Usergroup Manager and edit any usergroup you like to give permissions.
In your adminCP, under vbJournal, choose vbJournal options and configure it depending on your needs. If you can't see vbJournal's menu, press F5 to refresh the page, or logout and login again to your admincp.
The script cannot be redistributed, reproduced, or published in any way. Modifying this
script and sharing or publishing your modification A-N-Y-W-H-E-R-E (including here)without the author's written permission is not allowed, but you can modify it as you want but just for your own use.
In addition to above restrictions you can't develop and share addons for 3nd party scripts (eg for vBadvanced).
When you click on a category like vbjournal.php?do=category&categoryid=2 if u look at the left column the categories are not populating the table. I glanced at the code and didn't see what was wrong.
Nothing is wrong with the code there. I just let it as is planing to add subcategories there.
Nothing is wrong with the code there. I just let it as is planing to add subcategories there.
well on other pages my categories list in the left side but not on that particular page for some reason, thats why I asked about it. As you can see that on one page the cats are listed and in the other they aren't.
well on other pages my categories list in the left side but not on that particular page for some reason, thats why I asked about it. As you can see that on one page the cats are listed and in the other they aren't.
Yes, that's correct. As I seen the 2nd screenshoot is the list of articles from category xxx. As there are no subcategories there, it shows nothing. This block in a furture upgrade will populate with the list of subcategories. You must use the link in NavBar to go back.
But if you need this block populated with categories again, I can modify the code. It's trivial.
hmm i didnt see much of a difference in the code other than
the sql call for $_REQUEST['do'] == 'main' is below
Code:
$categories_get = $vbulletin->db->query_read("
SELECT *
FROM " . TABLE_PREFIX . "vbjournal_categories
ORDER BY display ASC
");
while ($category = $vbulletin->db->fetch_array($categories_get)){
$totalcats ++;
eval('$categories .= "' . fetch_template('vbjournal_categorybit') . '";');
eval('$vcategories .= "' . fetch_template('vbjournal_vcategorybit') . '";');
}
the one for $_REQUEST['do'] == 'category'
Code:
$categories_get = $vbulletin->db->query_read("
SELECT *
FROM " . TABLE_PREFIX . "vbjournal_categories
ORDER BY display ASC
");
while ($category = $vbulletin->db->fetch_array($categories_get)){
$totalcats ++;
eval('$vcategories .= "' . fetch_template('vbjournal_vcategorybit') . '";');
}
I must be looking at the wrong spot or something can you tell me what to edit for the time being until the sub cats are integrated? That would be great
For some reason if I have a breaking article, on the main page the no photo is not showing. I changed a line in the template vbjournal_breakingarticlebit and the line
hmm i didnt see much of a difference in the code other than
the sql call for $_REQUEST['do'] == 'main' is below
Sure you didn't found any difference in the code, as the difference is not there. To resolve it is much more easier than you can imagine. Just open template: sitenews_categorylisting. 24 lines from the begining you'll see:
Sure you didn't found any difference in the code, as the difference is not there. To resolve it is much more easier than you can imagine. Just open template: sitenews_categorylisting. 24 lines from the begining you'll see:
Thanks, did you notice the next post about the breaking image i think its in the editors box too but just got to the pc and this was first thing i did since i was already on the page haha.