Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vbF Journal by vbFreelancers Details »»
vbF Journal by vbFreelancers
Version: 1.3.1, by vbFreelancers vbFreelancers is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

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:
  1. MicroHellas, as this module has developed by her.
  2. 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
  1. 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().
  2. 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.
  3. CMOD following directories to 777
    1. /photos (inside vbjournal directory)
    2. /tmp (inside vbjournal directory)
    3. /thumbs (inside vbjournal/photos directory)
  4. For security reasons backup your database AND turn your board off
  5. Check at your AdminCP->vBulletin Options->Plugin/Hook System that Plugin system is enabled.
  6. From your AdminCP->Plugin System->Manage Products choose Add/Import Product and import the product: product_vbjournal.xml
  7. If you want to add a link to your nav bar then you must edit the NAVBAR template:
    1. Search For:
      Code:
      <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
    2. Add Below:
      Code:
      <td class="vbmenu_control"><a href="vbjournal.php$session[sessionurl_q]">Journal</a></td>
      ....or use any other word you want.
  8. 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.
  9. 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.
  10. Now, you can access vbJournal at: www.youdomain.com/vb_installation/vbjournal.php
4.- Copyright


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).

Greetings
vBulletin Freelancers

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-16-2008, 05:34 PM
Olympic Olympic is offline
 
Join Date: Dec 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCooper View Post
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.
Reply With Quote
  #33  
Old 01-17-2008, 08:53 PM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Olympic View Post
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.
Reply With Quote
  #34  
Old 01-18-2008, 05:13 PM
vbFreelancers vbFreelancers is offline
 
Join Date: Jan 2008
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCooper View Post
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.

Chris
Reply With Quote
  #35  
Old 01-18-2008, 06:53 PM
SuperDave71 SuperDave71 is offline
 
Join Date: Aug 2007
Location: Memphis
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent!!

GREAT JOB and marked as installed!

Thank you so much!

-Dave
Reply With Quote
  #36  
Old 01-18-2008, 09:12 PM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #37  
Old 01-19-2008, 01:29 AM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Code:
<if condition="$breakingarticle[photo]<>''">
to
Code:
<if condition="$breakingarticle[photo]>'0'">
and now the image shows...
Reply With Quote
  #38  
Old 01-19-2008, 05:51 AM
vbFreelancers vbFreelancers is offline
 
Join Date: Jan 2008
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCooper View Post
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:
Code:
<table width="100%" cellspacing="2" cellpadding="2">
</table>
Then just enter between 2 lines: $vcategories

Save it and the categories will appear.

Marina
Reply With Quote
  #39  
Old 01-19-2008, 03:23 PM
pcoskat pcoskat is offline
 
Join Date: Apr 2002
Location: atlanta
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add video (from Youtube and/or Brightcove) instead of an image and have it display a thumbnail of the video on main pages?

I would be willing to pay for such a modification.
Reply With Quote
  #40  
Old 01-19-2008, 03:35 PM
vbFreelancers vbFreelancers is offline
 
Join Date: Jan 2008
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pcoskat View Post
Is it possible to add video (from Youtube and/or Brightcove) instead of an image and have it display a thumbnail of the video on main pages?

I would be willing to pay for such a modification.
If you mean on article's main photo, no, currently you can't. But as I know there is a plugin to add YouTUBE video in vB's editor.

Marina
Reply With Quote
  #41  
Old 01-20-2008, 02:43 AM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbFreelancers View Post
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:
Code:
<table width="100%" cellspacing="2" cellpadding="2">
</table>
Then just enter between 2 lines: $vcategories

Save it and the categories will appear.

Marina
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.
Reply With Quote
Reply

Thread Tools

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 07:01 AM.


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.04848 seconds
  • Memory Usage 2,321KB
  • Queries Executed 26 (?)
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
  • (8)bbcode_code
  • (6)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete