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)
-   -   vBindex (https://vborg.vbsupport.ru/showthread.php?t=37021)

Juanito 04-19-2002 09:58 PM

One more thing, maybe I'll look a bit newbie wit all those questions but as I say I'm not a programmer! I don't find how to enable the right block, any tips for this?

Thanks! ;)

NTLDR 04-20-2002 07:39 PM

In the template home look for a line similar to:

Code:

<!-- $right -->
And chnage it to this:

Code:

$right
You should then be able to see the right block.

Don't worry about feeling like a newbie if you do, we all had (have) to start somewhere :D

Juanito 04-20-2002 08:39 PM

Good, thanks a lot ;)

hkim 04-21-2002 12:14 PM

Some more newbie question:

1. In the lef/right block, there is a link to "My Notepad". What is this? In my default installation of vBulletin 2.2.5 it seems not to be existing?

Best regards,


Quote:

Originally posted by el3m3nt

2 new actions (getdaily and getsticky!) and threads-table-title depends on the action!

(cut)

if ($action == "getsticky") {
// sticky threads
$threadsquery = $DB_site->query("select threadid,forumid,title,postusername,lastposter,rep lycount,iconid from thread WHERE visible=1 AND sticky=1 ".$threadsql." order by lastpost desc limit $numthreads");
$threadstitle="Sticky Threads";
}[/php]

now modify the template "home_threads":
- 2 new options (select)
- replace "Latest Threads" (title) with $threadstitle

that's it. all these improvements will be included in version 1.4.
pls write me all suggestions and ideas how we all can improve this script :). [/B]

Juanito 04-21-2002 12:18 PM

You can get it here, this is a hack called vbpad, this allow your users to keep some personal notes in their CP.

hkim 04-21-2002 03:43 PM

Another one: after installing vBindex, when selecting Forum home in the Forum Jump, I'm redirected to the first page. However, I would like this selection to redirect to a list of available forums instead. How do I do this?

NTLDR 04-21-2002 05:00 PM

Quote:

Originally posted by hkim
Another one: after installing vBindex, when selecting Forum home in the Forum Jump, I'm redirected to the first page. However, I would like this selection to redirect to a list of available forums instead. How do I do this?
What did you call the PHP file in the zip (the vb index php file)? If you called that index.php and renamed your forums index.php to say forums.php for example then thats why you are taken to vbindex and not tghe forum home page.

If this is then if you wish to leave the file names like this then I belive you either have to modify functions.php or set the $bburl in the options to point to url/forums.php where forums.php is the forums home page.

I could be wrong as I haven't tried it!

hkim 04-21-2002 05:16 PM

From what I can see, your site is working in a manner that I would like, e.g. when choosing "forum home" from the Forum jump menu, the user is redirected to the forum list page. Did you do some additional tweaking?

What I did when I installed the vBindex, was that I renamed the original index.php to home.php. After copying the necessary code from the original index.php to vBindex index.php, I then upload it to the vB folder on my site. I have also added your modification for multiple vBindex pages. What should I do?

Best regards,

hkim 04-21-2002 05:54 PM

I think I got it....I should problably change the variable in forumdisplay.php?

// jump from forumjump
$goto = '';
switch($forumid) {
case 'home': $goto = 'index'; break;

to

// jump from forumjump
$goto = '';
switch($forumid) {
case 'home': $goto = 'home'; break;

-=dm=- 04-21-2002 06:27 PM

Hi el3m3nt
Im back :D
I have litle problem with the vBindex:(
its the left block, I dont understand
? New posts [ 22 ] this should be 17
? Posts today [ 17 this should be 22
this is strange I didnt change the original code.
can you please help me?


All times are GMT. The time now is 01:53 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.01599 seconds
  • Memory Usage 1,740KB
  • 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_code_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