vb.org Archive

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

blueberry 02-15-2007 04:33 AM

Mary... thanks alot.. it is working for me now.. wanted to tell you that with the new updates you have done, vbarticles is superbe now... keep up the great work...

Eagle Creek 02-16-2007 12:09 AM

Two question before I maybe re-install it:
Can I change colors? Somewhere (inside the article) the alt color 1 is used, where I want to have 2 used.

Is it possible to use HTML?

mtlcore 02-16-2007 01:44 AM

I just downloaded... installed... it is showing in the ACP but no categories link..?!?!

mtlcore 02-16-2007 01:46 AM

Nevermind!

Great hack! :)

MaryTheG(r)eek 02-16-2007 03:26 AM

Quote:

Originally Posted by Eagle Creek (Post 1183506)
Two question before I maybe re-install it:
Can I change colors? Somewhere (inside the article) the alt color 1 is used, where I want to have 2 used.

Is it possible to use HTML?

Open the template: vbarticles_articleviewbit
Search for:
Code:

<td width="100%" align="left" valign="top" style="padding-top:5px;">
      $article_details[message]
</td>

Replace it with:
Code:

<td class="alt1" width="100%" align="left" valign="top" style="padding-top:5px;">
      $article_details[message]
</td>

You can use "alt2" if you prefer

Eagle Creek 02-16-2007 04:41 AM

Thx.

Is it possible to use HTML in the content?

MaryTheG(r)eek 02-16-2007 04:47 AM

Quote:

Originally Posted by Eagle Creek (Post 1183637)
Thx.

Is it possible to use HTML in the content?

Sure. The editor is HTML editor. You can also switch to and from to HTML code.

Eagle Creek 02-16-2007 04:48 AM

Strange.. Cause I posted a bunch of HTML and it just didn't got parsed.
I'm going to try it again :).

MaryTheG(r)eek 02-16-2007 04:56 AM

Quote:

Originally Posted by Eagle Creek (Post 1183643)
Strange.. Cause I posted a bunch of HTML and it just didn't got parsed.
I'm going to try it again :).

If you mean that you tried to write html code directly, you can do it only in HTML mode. I dont have the editor open right now, but if I remember well is a checkbox or radio button for it.

pkallberg21 02-18-2007 05:36 PM

Quote:

Originally Posted by MicroHellas (Post 1179248)
I've an idea:) Send me your vbarticles.php file to modify it. I don't know why, but even if I'm using the normal vb function:
Code:

vbdate($vbulletin->options['dateformat'], $top10article['postdate'], '', '');
In some French installations and now in Swedish, appears this problem. My email is here (10/02/2006 is ok format for you?)

Hello again! I received your new version of the vbarticle.php file, but now when I navigate to it I only receive a blank page. How can I resolve this?
Thanks.

Masked Crusader 02-21-2007 02:51 PM

How do you make different article categories? I really do not want to use the default categories as I have no use for them.

Also, where can I make modifications to the look and feel of the system? I do not see that any templates have been added under the current style that I have been using.

tommykjensen 02-21-2007 02:55 PM

I installed vbArticles on a dev system and something is not working properly.

When I approve an article the redirect sends the browser to the list "Articles Awaiting Approval"

When I then navigate to vbarticles.php either via link our typing the url directly I get redirected to the list "Articles Awaiting Approval" again. I need to close the browser for vbarticles.php to take me to the main article index.

Environment:

Windows 2003 standard server R2 sp1
MySQL 5.0.27
PHP 5.2.1
vB 3.6.4
IE 6

MaryTheG(r)eek 02-21-2007 03:19 PM

Quote:

Originally Posted by shanejeffery86 (Post 1187522)
How do you make different article categories? I really do not want to use the default categories as I have no use for them.

Also, where can I make modifications to the look and feel of the system? I do not see that any templates have been added under the current style that I have been using.

1.- From your admincp->vbArticles->Manage Categories
2.- Look for the template group vbarticles

bada_bing 02-21-2007 03:20 PM

THis looks like a nice hack,, I was wondering if there is any intergration with vbportal such as recent article, and so on?

bada_bing 02-21-2007 03:21 PM

Forgot also with this work on vb 3.5.3?

MaryTheG(r)eek 02-21-2007 03:22 PM

Quote:

Originally Posted by tommykjensen (Post 1187526)
I installed vbArticles on a dev system and something is not working properly.

When I approve an article the redirect sends the browser to the list "Articles Awaiting Approval"

When I then navigate to vbarticles.php either via link our typing the url directly I get redirected to the list "Articles Awaiting Approval" again. I need to close the browser for vbarticles.php to take me to the main article index.

Environment:

Windows 2003 standard server R2 sp1
MySQL 5.0.27
PHP 5.2.1
vB 3.6.4
IE 6

The redirection is correct. While you're on approving articles is normal after an approval to redirect to the list of the rest articles awaiting approval.
But to say that clicking on the Navbar you're not redirecting to the main page it's strange. Nobody reported something similar.

tommykjensen 02-21-2007 03:31 PM

A slight correction. The link that is displayed "Forums-> Articles" work but if I manually write vbarticles.php in the url the redirect is performed once more. It appears to be the ? on the link that makes the difference.

In other words vbarticles.php? works vbarticles.php do not work.

IrPr 02-21-2007 03:47 PM

Thanks for this Mod Made by Mary!

Is it possible to IMPORT articles from specified Forum or just set source forum as article database?
i suggest this option if its not releaset yet

bada_bing 02-21-2007 05:46 PM

May of found a bug.

I have added a simple htmp that says this in the article message area
HTML Code:

<head>
<meta http-equiv="Content-Language" content="en-us">
</head>

<p align="center"><i><b><font size="5" color="#FF0000">Holly Smoke!!</font></b></i>
</p>
<p align="center"><a href="http;/www.myforum.com/forums">This is a sweet
script and seems to work well</a></p>

When I click on the text the link takes me here:
http://www.myforum.com/forums/http;/...rum.com/forums


Instead it should go here
http://www.myforum.com/forums/

bada_bing 02-21-2007 07:50 PM

What is the difference between this version and the paid version?


Tried to install this on my my other vb 3.5.3 site and I get this error

HTML Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
        (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
        ('1', '5', 'Template Group', 'template_groups', '$only[\'vbarticles\'] = \'vbarticles\';', 'vbarticles');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Wednesday, February 21st 2007 @ 03:54:00 PM
Script      : http://www.mysite.com/forums/admincp/plugin.php
Referrer    : http://www.mysite.com/forums/admincp/plugin.php?do=productadd
IP Address  : 67.59.x.x
Username    : Administrator
Classname    : vb_database


Would love to get this working on my site..Mary and help please:(

pkallberg21 02-21-2007 07:52 PM

Quote:

Originally Posted by pkallberg21 (Post 1185436)
Hello again! I received your new version of the vbarticle.php file, but now when I navigate to it I only receive a blank page. How can I resolve this?
Thanks.

Hey. Could you please help me :)

bada_bing 02-21-2007 08:07 PM

I have this installed on my other site which is 3.6.4 and noticed another issue. After submitting and approving an article everything is good but if I then want to choose to "Set as Editors Choice" I get a blank white page.

mmcguire 02-21-2007 08:57 PM

Quote:

Originally Posted by bada_bing (Post 1187768)
I have this installed on my other site which is 3.6.4 and noticed another issue. After submitting and approving an article everything is good but if I then want to choose to "Set as Editors Choice" I get a blank white page.

I get the same thing.

bada_bing 02-22-2007 01:24 AM

MicroHellas ,

Please help me with my questions..

dina 02-22-2007 12:06 PM

Quote:

Originally Posted by bada_bing (Post 1187658)
May of found a bug.

I have added a simple htmp that says this in the article message area
HTML Code:

<head>
<meta http-equiv="Content-Language" content="en-us">
</head>

<p align="center"><i><b><font size="5" color="#FF0000">Holly Smoke!!</font></b></i>
</p>
<p align="center"><a href="http;/www.myforum.com/forums">This is a sweet
script and seems to work well</a></p>

When I click on the text the link takes me here:
http://www.myforum.com/forums/http;/...rum.com/forums


Instead it should go here
http://www.myforum.com/forums/

Maybe this is because you wrote:

Code:

<p align="center"><a href="http;/www.myforum.com/forums">This is a sweet
script and seems to work well</a></p>

Instead of:

Code:

<p align="center"><a href="http://www.myforum.com/forums">This is a sweet
script and seems to work well</a></p>


MaryTheG(r)eek 02-24-2007 02:55 PM

Quote:

Originally Posted by pkallberg21 (Post 1185436)
Hello again! I received your new version of the vbarticle.php file, but now when I navigate to it I only receive a blank page. How can I resolve this?
Thanks.

Here is the file...

louis_chypher 02-24-2007 05:49 PM

Good day MicroHellas,

A site I operate has an issue that occurs when posting a new article.

Info as follows:

page being displayed (or attempted to be displayed) http://www.bbdsms.com/forums/vbarticles.php

Message displayed on page:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at www.bbdsms.com Port 80


The article is posted into the dB and is awaiting to be approved.

All other functions work.

If you are interested in giving me direction in solving this single issue that I am having it would be greatly apprecieated. Let me know what other information you want (if it is your inclination to assist in resolving this issue) just let me know and I'll do my best to be most accomodating.

BTW, thank you very very much for this modification.

tommykjensen 02-25-2007 08:56 AM

Don't know if this has been mentioned already.

When permissions has been set to not allow a user to add articles then the links "Add Articles" & "My Articles" should not be displayed. I realize the user get an error message when clicking on the link but it is not necesary to display the link if the user do not have permission.

"My Articles" should of course be displayed if the member at one time did have permission to add articles and have some.

Another thing. When editing article it is not possible to upload photo. This option is missing.

And more. When admin rejects an article it seems like it is being deleted. How about not deleting it but mark it as rejected and let the user edit it and resubmit. Afterall the user could have put a lot of work into creating the article just to see it deleted maybe on a small thing.

Also if a photo has not been uploaded to the article then I would prefer that the photoframe with the text "No picture" is not displayed. It use space for no apparent purpose.

Sorry if all these things have been covered in the past 24 pages.

MaryTheG(r)eek 02-25-2007 09:25 AM

Quote:

Originally Posted by tommykjensen (Post 1190254)
Don't know if this has been mentioned already.

When permissions has been set to not allow a user to add articles then the links "Add Articles" & "My Articles" should not be displayed. I realize the user get an error message when clicking on the link but it is not necesary to display the link if the user do not have permission.

"My Articles" should of course be displayed if the member at one time did have permission to add articles and have some.


Another thing. When editing article it is not possible to upload photo. This option is missing.

And more. When admin rejects an article it seems like it is being deleted. How about not deleting it but mark it as rejected and let the user edit it and resubmit. Afterall the user could have put a lot of work into creating the article just to see it deleted maybe on a small thing.

Also if a photo has not been uploaded to the article then I would prefer that the photoframe with the text "No picture" is not displayed. It use space for no apparent purpose.


Sorry if all these things have been covered in the past 24 pages.

Well, I think it's good once before answer questions, to ask questions:

As I understood, you gave a good look on the code. How it comes and you didn't installed it?

Maria

tommykjensen 02-25-2007 09:54 AM

I have it installed on a (non-public) test site to see if it suits my needs. So far it is looking good.

As I am testing it the things mentioned above popup.

I just noticed another thing. When I finished installing I added a test article in the category Litterature.

Then I went to the admincp and deleted categories and renamed Litterature to Javascript. Now I just noticed that the category is stored static somewhere.

Quote:

test
Category: Literature, Posted on 2007-02-25 by tommy
That article is in fact in the category Javascript.

bada_bing 02-26-2007 11:54 AM

Quote:

Originally Posted by bada_bing (Post 1187768)
I have this installed on my other site which is 3.6.4 and noticed another issue. After submitting and approving an article everything is good but if I then want to choose to "Set as Editors Choice" I get a blank white page.

Mary any word on this?

WNxWakko 02-26-2007 01:45 PM

I cant figure out why this article system doesn't acknowledge VB BB code? Are you planning to add this? Then I can turn off the html which is somewhat of a security risk.

Allan 02-26-2007 06:04 PM

Maria, it's not possible to add the smilies in your editor please ?

raiderlax 02-26-2007 08:27 PM

So is this safe to install on a forum, like is it running okay or not?

Thanks, this is an awesome idea.

bada_bing 02-27-2007 02:53 AM

Is there a reason why this block never get update. I am running the 3.5.x version

Sam1985 02-27-2007 05:35 AM

Hey Mary,

I know you have been asked a million times before, but when will the next version come out with the ability to create subcats.

I love your scripts!

MaryTheG(r)eek 02-27-2007 05:39 AM

Quote:

Originally Posted by Sam1985 (Post 1191697)
Hey Mary,

I know you have been asked a million times before, but when will the next version come out with the ability to create subcats.

I love your scripts!

I'm working on it right now, but a terrible flu 2 weeks now, have made not to be able as much as I want.

MaryTheG(r)eek 02-27-2007 05:41 AM

Quote:

Originally Posted by bada_bing (Post 1191634)
Is there a reason why this block never get update. I am running the 3.5.x version

Because there is no author with articles=1 ... An author with more than 1 stories can't be count as newest.

MaryTheG(r)eek 02-27-2007 05:46 AM

Quote:

Originally Posted by Allan (Post 1191308)
Maria, it's not possible to add the smilies in your editor please ?

I've sent this request to Editor's author (editor is a 3nd party editor) and I'm expecting his reply. Maybe I've deactivated it by mistake.

MaryTheG(r)eek 02-27-2007 05:48 AM

Quote:

Originally Posted by raiderlax (Post 1191386)
So is this safe to install on a forum, like is it running okay or not?

Thanks, this is an awesome idea.

This mod after so many commercial and free installations for sure is working bug free. But of course there is always the situation something to going wrong with your site's configuration, that's why I can't guarantee anything.


All times are GMT. The time now is 04:35 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.02035 seconds
  • Memory Usage 1,851KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_html_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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