Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 09-16-2002, 02:08 AM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is some minor things:

This i when the image has been uploaded
Reply With Quote
  #22  
Old 09-16-2002, 08:59 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here i teh last screenshot of the admin cp.

THIS WILL ALLOW YOU TO VIEW THE IMAGES, THIS IS LIKE VIEWING THE GALLERY.
Reply With Quote
  #23  
Old 09-16-2002, 09:03 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated View of List Cat
Reply With Quote
  #24  
Old 09-16-2002, 09:14 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 09-16-2002, 09:23 PM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 09-16-2002, 09:27 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only just checked out this thread Drk and this looks very sweet
Reply With Quote
  #27  
Old 09-17-2002, 08:41 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #28  
Old 09-17-2002, 08:50 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DrkFusion
I need help with looping a template though :-/
Sounds great how to you mean looping a template, like looping the postbit so it displays 4 posts? Or is that compleatly wrong?
Reply With Quote
  #29  
Old 09-17-2002, 09:04 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #30  
Old 09-17-2002, 09:10 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change:
PHP Code:
eval("\$catlistbit = \"".gettemplate('vbig_listbit')."\";"); 
To:
PHP Code:
eval("\$catlistbit .= \"".gettemplate('vbig_listbit')."\";"); 
I think that should do the trick
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04310 seconds
  • Memory Usage 2,265KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete