PDA

View Full Version : vBForumViewControl 1.2


eltro
05-22-2003, 10:00 PM
Hi there,

i have written a hack, which allow's registred users to hide
unwanted forum's for themselves.
I think this hack will be very interesting for board,s with a
big range of forum topics

The package contains 3 screenshoots, 1 gif picture and
the install.htm file.

geetings
eltro

--- Hack Updated ---
v1.1:
Forumjumpbar now dosen't show hidden forums.
Changes for english users added to install.htm.
Some code improvements

--- Hack Updated ---
v1.2:
Hack added to search.php

Koutaru
05-23-2003, 02:08 AM
Neat hack -- I may consider this :)

Minots
05-23-2003, 02:14 AM
Sounds good! *g*
I?ve install it on my vBulletin 2.2.9 >> works without trouble. :)

*klick install*

THX

Smoothie
05-23-2003, 02:33 AM
can you provide a zip file instead?

MetroSports82
05-23-2003, 02:43 AM
looks good eltro. ;) btw, hope you don't mind me posting the zip file, for those who don't have/use winrar. thanks. ;)

https://vborg.vbsupport.ru/showthread.php?postid=398755#post398755

eltro
05-23-2003, 03:08 AM
Thanks for posting the zip file MetroSports82.
Now, I don't need to do it :cheeky:

snyx
05-23-2003, 04:20 AM
what about a link that would show new posts for only showing forums?

now that would be a livesaver :)

Intex
05-23-2003, 04:27 AM
Nice idea Eltro. I'll add this to my install list :).

Smoothie
05-23-2003, 04:54 AM
How many extra queries does this add?

eltro
05-23-2003, 06:01 AM
@snyx
the next version will have it ;)

@smoothie

For displaying the forums i use currently 2 querrys.
For showing the list in the usercp 2.


An update is in work and will be released in the
next few days, depending on the time i can spend for it.

Boofo
05-23-2003, 09:54 AM
You might want to translate this hack to English. I have no idea what this mean:

template No.2
name: redirect_updateinaktiveforen


content:
Deine Liste der inaktiven Foren wurde aktualisiert.

eltro
05-23-2003, 02:35 PM
@boofo
template No.2
name: redirect_updateinaktiveforen

content:
Your List of inactive forums has been updated.

Boofo
05-23-2003, 03:48 PM
You might want to add that to the install file for others who can't read it, too. ;)

Logik
05-23-2003, 05:54 PM
whoa. i got lost as well. lol

ImportPassion
05-23-2003, 11:43 PM
i did this a while ago since it was in my fusetalk forums. Mine is a little more elegant. It shows the complete list in a multi-select list in the forum options. I added a new field to the user table called forumnoshow and has a coma separated list of forums not to show. then in the queries to show the forums I do a WHERE NOT IN $forumnoshow.

I can release it if there is enough interest. But not till after vacation which is June 2.

D

gmarik
05-24-2003, 09:11 AM
Nice

eltro
05-24-2003, 10:02 AM
Hack updated to v1.1

Forumjumpbar now dosen't show hidden forums.
Changes for english users added to install.htm.
Some code improvements.

eltro
05-24-2003, 12:06 PM
--- Hack Updated ---
v1.2:
Hack added to search.php

snyx
05-26-2003, 10:08 AM
05-24-03 at 06:06 AM eltro said this in Post #18 (https://vborg.vbsupport.ru/showthread.php?postid=399347#post399347)
--- Hack Updated ---
v1.2:
Hack added to search.php cool, but does this takeover the users getnew posts, or can there be a seperate link to getnew in hidden forums. I want my users to be able to click one link to veiw all new posts, and another to view just the shown forums

eltro
05-27-2003, 09:48 AM
@snyx
the changes i have made in search.php will only show threads or posts from shown forums as result for every search request.
If you want a seperate link for your users, save the hacked search.php to
e.g. search2.php and add the folowing html link to your board:
<a href="http://example.eg/search2.php?s=&action=getnew">
Get new posts in shown forums </a>
This shoud work.