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)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

arracing 02-22-2003 12:40 PM

PLUR:

yea but if i do the random function. Will it only randomly pick from the polls forum? I want it to randomly pic polls from the entire message board at random. That way I can get rid of the poll forum all together.

Sting 02-22-2003 04:43 PM

nice hack, but i am stupid and on the index page, where it displays the news and stuff its all fine BUT the post icons,

ex on the forum i pick 1.gif for the post icon, but on the index page it displays as icons18.gif

anyone know what i did wrong?

Krackills 02-22-2003 05:39 PM

=\ ok we have tryed for awile to get the images working but they willnot show up it looks kinda crapy www.roguesaints.net is what it is looking like if you know what we did wrong plz give me a shout

Image folder path /forums/plasma

Title image path /forums/plasma/vBulletin_logo.gif

Reply image path plasma/reply.gif

New thread image path plasma/newthread.gif

Closed thread image path plasma/threadclosed.gif



dose that look right if not can somone tell me what paths it sould be the url is www.roguesaints.net

Sulaiti 02-22-2003 09:17 PM

Thank plurplanet

Works fine now

Regards ,

keith70 02-22-2003 09:47 PM

Would like to be able to add a random image from Photopost on the main index page. Can you help with this or has this been posted before?

Tigga 02-22-2003 10:13 PM

arracing - Look for this line:
FROM thread LEFT JOIN poll ON (thread.pollid=poll.pollid) WHERE thread.forumid=$pollsforum ORDER BY RAND()");
(that's assuming you already made the change to pull a random poll... If not that line will be slightly different)

Replace it with:
FROM poll LEFT JOIN thread ON (poll.pollid=thread.pollid) ORDER BY RAND()");

Sting - You're talking about the icons for the news posts, right? It should display the same icon that was selected with the thread... Did you maybe edit the post afterwards or something? If you can post or PM me with a link to your website I'll take a look and see if I can figure out what's wrong.

Krackills - The images looked fine when I checked so I'm assuming you found the problem...

Krackills 02-22-2003 10:17 PM

ok it works on the default template but when u select a template from list not all images are their like plz register and look at the plasma skin it dont realy work right

Tigga 02-22-2003 11:05 PM

keith70 - It's been a while since I've used PhotoPost... I had it installed on my site, but am now using mostly my own script. If most or all of your photos are jpg images, then I'm pretty sure there would be an easy way to do that. Since it doesn't actually store the thumbnail's name in the data base though it makes it harder if you have to distinguish between what kind of image it is. If the majority of your photos are one type of image let me know and I should be able to come up with something for you.

Krackills - You need to edit your index_header template to add the images and such that are in your header template.

Krackills 02-22-2003 11:16 PM

can u tell me how to do that sorry if i sound n00bish but i am very new to vbb i used to use a diff forum system sorry for the troubles

Tigga 02-22-2003 11:22 PM

Do you have any need for a seperate header template for your index? If not, you can just edit your index template and replace $index_header with $header. Then you would need to edit your header template and change each link there to point to the full url to your forums.
If you do want a seperate header for your index I would recommend copying the content of your header template to your index_header template, and then changing the links to point to the full url to your fourms. Oh, and a little tip... You can just put $bburl in front of each link instead of the actual url. That way if you ever change the location of your forums you won't have to update those links again.


All times are GMT. The time now is 01:25 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.03641 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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