vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Oak?s vGallery 1.0 (https://vborg.vbsupport.ru/showthread.php?t=48243)

Bergman 01-29-2003 07:00 PM

Aaarrrghh ... it seems that the //Functions-section is wrong in galleryconfig.php

This is the right

<?

// Functions

function createStars($dblRating) {

$intRating = round($dblRating);

$imgTag = "<img width=\"55\" height=\"12\" src=\"icons/" . $intRating . "stars.gif\" alt=\"" . round($dblRating, 1) . "\"> (" . round($dblRating,1) . ")";

return $imgTag;

}



function removeHTML($sData) {

$searchFor[0] = "<";

$searchFor[1] = ">";

return str_replace($searchFor, "", $sData);

}



function outputRowColSelector($cid, $scid, $sort) {

global $rowcol;

?>

SpeedStreet 01-29-2003 07:47 PM

Awesome!

We are one step closer to getting this to work.

Here is the newest problem that appears on the top of all my pages:

PHP Code:

WarningCannot add header information headers already sent by (output started at /home/speedstr/public_html/forums/gallery/galleryconfig.php:47in /home/speedstr/public_html/forums/gallery/create_category.php on line 75 


ranger2kxlt 01-29-2003 07:48 PM

ok question
on these lines where it asks for path to ????

Code:

$cfgForumDir = "/home/vbulletin/"; //The local path to the forum dir
what path our FULL path or just a ../vb ???

SpeedStreet 01-29-2003 07:55 PM

I'm toying around with this, and while I error out trying to upload a picture, it does in fact work...I am getting VERY excited about this.

Is you team planning on integrating this with vBulletin further? I would LOVE to see the ability for an admin to lock a certain category for their uploading only and maybe the ability for common users to add their own sub categories as well....or maybe even link their own subcategory to their profile (ala PhotoPost).

This program has HUGE potential in our community, you can sign me up as your number 1 beta tester

/me definitely installs

SpeedStreet 01-29-2003 07:56 PM

Quote:

Originally posted by ranger2kxlt
ok question
on these lines where it asks for path to ????

Code:

$cfgForumDir = "/home/vbulletin/"; //The local path to the forum dir
what path our FULL path or just a ../vb ???

Full path is prolly best.

Usually it's /home/USERNAME/public_html/vbulletin or whatever.

ranger2kxlt 01-29-2003 08:05 PM

i get this now

Code:

Warning: Cannot add header information - headers already sent by (output started at /www/html/vb/VGallery/galleryconfig.php:47) in /www/html/vb/admin/functions.php on line 1692


figured it out, was b/c i forgot to define the user groupid numbers in the config

SpeedStreet 01-29-2003 08:13 PM

Me too ;)

ranger2kxlt 01-29-2003 08:19 PM

ok new problem, got everything else working, everything uploads but i get an error when i hit upload, same for creating cat., making a comment...etc...

the code is the same on them all

Code:

Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site238/fst/var/www/html/vb/VGallery/galleryconfig.php:47)
any fix for this?

Bergman 01-29-2003 09:32 PM

Now we figured it out ... there were blank rows in there 3 files. Sorry for the problems but it should work now. :)

SpeedStreet 01-29-2003 09:34 PM

Here is a link to an English working demo:

http://www.speedstreet.org/forums/gallery


All times are GMT. The time now is 12:47 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.01167 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)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