Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2011, 05:43 AM
MrFurious MrFurious is offline
 
Join Date: Sep 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default New to Vb - Couple Questions

Just starting to get my feet wet in vbcms (v4.1.7pl2) and I'm not a coder/programmer, so bare with me here. Basically I need to figure out how to change a couple things to suite my specific needs.

1. It appears by default the software limits you to only being able to attach 5 images to an article. I have dozens of articles with more images than this, so I need to know if there's a way to remove this limit and/or where the code is that would need changed if not accessible via the adminCP.

2. I need a way to change the author for CMS articles as I have 300+ articles from various authors from my old site that I need to move into vB. What I would like to do is to replace the default author name (my signed in name) with either a drop-down menu that includes the names of all the users with permission to create articles or a simple text field where I could type in the authors name.

Any help or instruction on resolving either of these issues would be greatly appreciated.
Reply With Quote
  #2  
Old 11-07-2011, 04:46 PM
kkinsey kkinsey is offline
 
Join Date: Oct 2011
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm probably not much help, but I've got a couple of things you might consider:

1. At work, I'm pretty sure that we work around the ATTACH limit by simply hosting the images elsewhere and then calling them in IMG bbcode tags. Would that work for you?

2. For the author issue, do you have direct database access via the shell or the GUI (PHPMyAdmin, for example?) Might it be possible to import them under your username and then do a query on the DB (assuming, of course, that the author has been created as a user in vB)?
Reply With Quote
  #3  
Old 11-07-2011, 07:12 PM
MrFurious MrFurious is offline
 
Join Date: Sep 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally found the setting I needed to resolve the image limit issue (thanks Trevor!).

AdminCP > Settings > Options > Message Attachment Options
Change "Attachments Per Post" value

As for the author issue, yes accessing the DB is an option but it's not a convenient one as I'm really not comfortable playing around in the DB directly via phpmyadmin. I guess for now I'll just hide the author's name until a fix can be found so I'm not sitting here dead in the water waiting for a solution.
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 10:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05167 seconds
  • Memory Usage 2,170KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete