vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vB Image Gallery Lite (https://vborg.vbsupport.ru/showthread.php?t=43529)

DrkFusion 09-16-2002 02:08 AM

This is ust a view of the different admin tools for this script.

Regards
-Arunan

DrkFusion 09-16-2002 08:59 PM

Here i teh last screenshot of the admin cp.

THIS WILL ALLOW YOU TO VIEW THE IMAGES, THIS IS LIKE VIEWING THE GALLERY.

DrkFusion 09-16-2002 09:03 PM

Updated View of List Cat

wot-Mike 09-16-2002 09:14 PM

Quote:

Originally posted by DrkFusion
Seems no one is interested anyways...
You are SO wrong, you know that?! This is one hack I'm keeping my eyes on closely :)

Goldknight 09-16-2002 09:23 PM

Quote:

Originally posted by wot-Mike

You are SO wrong, you know that?! This is one hack I'm keeping my eyes on closely :)

I second, Drk need several hard liquids...

I m sure most of us keep our eyes on this hack but afraid of Drk's madness illness.. however Good job, It look good and I m waiting for this hack to release.

NTLDR 09-16-2002 09:27 PM

Only just checked out this thread Drk and this looks very sweet :D

DrkFusion 09-17-2002 08:41 PM

Thanks guys, the hack is 85% done, the release date will be soon, I need help with looping a template though :-/

Anyways, stay tooned
Arunan

NTLDR 09-17-2002 08:50 PM

Quote:

Originally posted by DrkFusion
I need help with looping a template though :-/
Sounds great :D how to you mean looping a template, like looping the postbit so it displays 4 posts? Or is that compleatly wrong?

DrkFusion 09-17-2002 09:04 PM

Yup thats exactly what I meant, I have a template called listcat, it has variables, $catagory, $catdesc, and $cattotal, and it has <tr> and stuff, but it doesn't loop, but it loops the database entry only
I will show you a screenshot and the code.

here is the code
PHP Code:

$ebg $DB_site->query("SELECT igcid, catagory, catdesc FROM vbigallery_cat ORDER BY igcid");
if (
$DB_site->num_rows($ebg)) {
  while (
$vbigallery=$DB_site->fetch_array($ebg)) {
    
$catagory .= "$vbigallery[catagory]";
    
$description .= "$vbigallery[catdesc]";
      eval(
"\$catlistbit = \"".gettemplate('vbig_listbit')."\";");
  }
}
eval(
"dooutput(\"".gettemplate('vbig_main')."\");"); 


If you look at the screenshot you should see that there is no <tr> break, there is only one <tr> </tr> and the content of the table is being repeated within that <tr> but I want the <tr> it self to repeat for each catagory. If you don't get what i am saying, please look at the forum home, all catagories and forums are seperated with a <tr>, the structure of the forum home is like
<tr>
Catagory1
</tr>
<tr>
Catagory2
</tr>

Not like that but very basically that is how it is.

Anyways thanks in advance for your help
-Arunan

NTLDR 09-17-2002 09:10 PM

Change:
PHP Code:

eval("\$catlistbit = \"".gettemplate('vbig_listbit')."\";"); 

To:
PHP Code:

eval("\$catlistbit .= \"".gettemplate('vbig_listbit')."\";"); 

I think that should do the trick ;)


All times are GMT. The time now is 01:42 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.01097 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)bbcode_php_printable
  • (3)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
  • (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