vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbJournal (https://vborg.vbsupport.ru/showthread.php?t=155853)

MaryTheG(r)eek 08-23-2007 03:42 AM

Quote:

Originally Posted by Piccante (Post 1323420)
Just a few more observations:
  • Why doesn't the https://vborg.vbsupport.ru/external/2011/07/5.gif button appear in the vB Editor Toolbar when submitting an article?
  • Normal members get the "Administrator Options" at the bottom of their article, although they cannot edit their own articles despite this being enabled in the Usergroup Permissions
  • On the original vbarticles in the category listings (the bit where the 50x50 pixel icons are displayed) the Article Titles were in bold and the description was in normal font. This gave a nice differentiation. In vbjournal all the text is in bold which doesn't look so tidy. How can I edit this?
Having said that it's a great mod, and thanks to Mary, but I'd very much appreciate help making those few small changes. :D

Hello,
  1. You must activate inline images at vBulletin options.
  2. Please note that the permissions are: Add/Edit/Delete and not only Add. So its normal to get the Admin menu at the bottom of their articles.
  3. Sorry. Being in rush to remove ( ) from there I also removed the end of bold letter. Please open the template: vbjournal_categorybit
Find:
Code:

<td align="left"><a href="vbjournal.php?$session[sessionurl]do=category&categoryid=$category[categoryid]">
      <div class="smallfont"><b>$category[title]</a><br>
      $category[description]</div></td>

Add the highlight command:
Code:

<td align="left"><a href="vbjournal.php?$session[sessionurl]do=category&categoryid=$category[categoryid]">
      <div class="smallfont"><b>$category[title]</a></b><br>
      $category[description]</div></td>


ngocha85 08-23-2007 04:34 AM

Quote:

Originally Posted by MicroHellas (Post 1323291)
I tried your link but asked me for login. Can you please setup Guest to be able to use it?

OK. Visit this link: http://www.hotgame.vn/forum/vbjournal.php?do=newarticle

MaryTheG(r)eek 08-23-2007 05:21 AM

Quote:

Originally Posted by ngocha85 (Post 1323705)

As Guest I seen a text area for "Full Article" instead vBeditor. Have you give access to vbeditor to guests?

MaryTheG(r)eek 08-23-2007 08:40 AM

Quote:

Originally Posted by Piccante (Post 1323329)
Hi

IE 6.0 produces the error (but it doesn't stop an article being submitted)

Well, I can't duplicate the error even when I asked some friends to check it. Could you please check it from another computer?

Piccante 08-23-2007 09:45 AM

Hi

I have checked from two other computers and the same thing happens. Interestingly, when the vbjournal.php?do=newarticle page is refreshed there is no page error! I guess it's not a problem as it doesn't stop it functioning. I guess it must be something to do with my style template then!

Inline images are activated. It's just the https://vborg.vbsupport.ru/external/2011/07/5.gif shortcut button which is missing, only on vbjournal vbulletin editor, not on the rest of the board. I can still dsiplay images by actually typing in the [img] tags.

On the Newest Articles box it says: "By x, at 22/08/2007" - I'd like to change that to "By x on 22/08/2007". Would you be able to tell me which template to modify? Thanks.

On vbarticles I liked the "preview" button. With vbjournal a member cannot preview their articles. If they have made an error then cannot edit their own articles either. This is likely to cause increase requests to admin to make minor spelling and formatting alterations!

MaryTheG(r)eek 08-23-2007 12:59 PM

1 Attachment(s)
Quote:

Originally Posted by Piccante (Post 1323839)
I guess it must be something to do with my style template then! Inline images are activated. It's just the https://vborg.vbsupport.ru/external/2011/07/5.gif shortcut button which is missing, only on vbjournal vbulletin editor, not on the rest of the board. I can still dsiplay images by actually typing in the [img] tags.

Seems that something is going wrong in your site. If you see the attachment (its from my demo installation) image button appears normally. I tried it as admin and as normal user.

Quote:

Originally Posted by Piccante (Post 1323839)
On the Newest Articles box it says: "By x, at 22/08/2007" - I'd like to change that to "By x on 22/08/2007". Would you be able to tell me which template to modify? Thanks.

If you want to modify the date format you need to modify the variable $mydateformat at vbjournal.php file. If you want to change anything else, the templates are:
  1. vbjournal_articleviewbit
  2. vbjournal_categorylistingbit
  3. vbjournal_breakingarticlebit
  4. vbjournal_newestarticlebit
Quote:

Originally Posted by Piccante (Post 1323839)
On vbarticles I liked the "preview" button. With vbjournal a member cannot preview their articles. If they have made an error then cannot edit their own articles either. This is likely to cause increase requests to admin to make minor spelling and formatting alterations!

Do you mean the preview button in Editor? Sorry, but nobody can be happy. Having that editor I was getting complains because I didn't use vB editor which is compatible with all browsers etc.

Why a user can't edit his articles??? He can do it in 2 ways:
  1. In full article view by choosing Edit at the bottom of article
  2. From My Articles

TheProphet 08-23-2007 01:05 PM

Great work lady, glad that your hack is back, thx.

unitedpunjab 08-23-2007 02:25 PM

watz new ??

Piccante 08-23-2007 04:39 PM

Ok, I managed to make the change I wanted by changing the phrase name="vbjournal_at" to say 'on' rather than 'at' in the product xml.

I still have the problem that a Registered Member cannot edit their own articles. I have the permissions set correctly in the Usergroup Manager, but when the Edit button is clicked it says "You don't have permission to......".

Mary, on your working demos, does the vbulletin editor have a preview button? Because mine doesn't. I'm also baffled by the fact the editor works perfectly but there is no img button. It appears on the vbulletin editor within the rest of the forum!

If anyone wants to have a look at how I have vbjournal set up then it's here: http://www.labellavocedellapuglia.com

fishhub 08-23-2007 06:38 PM

wow! this is great! would like to know can this work for 3.5.x? TIA


All times are GMT. The time now is 08:27 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.01466 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete