vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbArticles v0.4 -- For your repository of Articles/Tutorials/FAQs etc. (https://vborg.vbsupport.ru/showthread.php?t=54331)

cinq 08-08-2003 06:13 AM

bitg - Age : 93 ??!! haha :D:D

Will consider your ideas, coding time is limited now so i'll take things slow :)

Glad it works for you ! :D

Holidazed 08-08-2003 07:38 PM

Strangeness. When I try to add an article to any category from the ACP, it does not add the article at all if there is a ' anywhere in any field. It does not give me any errors, it just does not add it.

Now, this is to be expected since this is tying in a database. If I change all the ' to \' it works. However, after I successfully add the article, if I edit it and remove all the \ from the fields, it accepts it just fine.

Another thing, when I add an article via the ACP, it strips all my html from the article field. Yet when I edit the article, I can add the html back in and it accepts it.

This is not mission critical, but I do have to add each article and then edit each article before it is fit to be viewed.

Ideas?

cinq 08-10-2003 11:20 PM

Anyone facing the same problem ?
Weird but i cannot seem to replicate most of the problems reported on my localhost.

Everything works peachy for me....

Dark_Wizard 08-11-2003 01:40 PM

Try this fix:

find in vbArticlesadmin.php (around line 229):

PHP Code:

'".($class->encode($content))."'

change to this:
PHP Code:

'".($class->encode($content))."' 


Holidazed 08-11-2003 01:46 PM

Dark Wizard, what will this change do?

Dark_Wizard 08-11-2003 01:48 PM

Quote:

Today at 10:46 AM bitg said this in Post #205
Dark Wizard, what will this change do?
It should fix your problem with the '.
If not I have something else that should work

Holidazed 08-11-2003 06:05 PM

Oh. Cool. Any ideas about the html problem?

Dark_Wizard 08-11-2003 06:40 PM

Quote:

Today at 03:05 PM bitg said this in Post #207
Oh. Cool. Any ideas about the html problem?

I haven't looked at it and I cannot as I am involved with 3 other hacks right now but if cinq doesn't get to it before I'm done then I will look into it for you.

gmarik 08-12-2003 06:19 AM

Perfect! What's about xHTML?

1) if a mod or admin adds and article no validation needed
2) when I press "Submit new Article" in one of the Categorys, for example a category called "Rock Music", it would be good that in the field "Choose category Bellow" would be selected on "Rock Music" (this code could be taken from add a new sub-forum form cp)
4) date could automaticly added, if user does not selects to add his own date
5) Photos could be adde in certain places and text woul go along them :ninja:

6.1) How it is going on with sub-categorys? :surprised:

Dolby 08-13-2003 10:55 PM

any way to get this to use vbulletins vbcodes instead of using vbcodes.php ?

Also it seems if I use html in the content area it just removes it all together. HTML / XML in the descriptoin works correctly and just displays the code. Many of the tutorials I have will have XML and HTML code for readers to see and try. I figure if it just used vbulletins system it would display correctly.


All times are GMT. The time now is 05:00 AM.

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.01387 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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