![]() |
Ah, it's not working. When i've finished following the instructions, and try to look at it, I get a fatal error for member.php on line 427, which is this one.
$limit = '5'; // Enter the number of maximum threads you want to be displayed. Ahhhh :ninja: |
Onkel_Tom; Sorry I forgot to update the install file:) As for your request, im not to sure what you mean
JaNa; I sure you you've installed it correctly? Try reinstalling it:) |
Quote:
thanks for your answer |
I think I go wrong at this "Add New Phrase"
Is it the "Phrase Manager" in the Languages & Phrases Tab in AdminCp? EDIT: Erg, I reinstalled it, following the instructions closely, and it still doesn't work :tired: (same error) |
I get
Fatal error: Cannot redeclare get_noaccess_forumids() (previously declared in /home/squareu/public_html/forums/includes/functions_misc.php:20) in /home/squareu/public_html/forums/includes/functions_user.php on line 503 I tried applyin the require('./includes/functions_misc.php'); above the limit='5' and the require('./global.php'); and it's still not working, arrg wtf. |
I had this hack installed when I had vB 2.3 and it somehow mapped over when I upgraded to vB 3 Gold
BUT, even though the admin CP options are there for me to designate how many threads and which threads are excluded, THEY DON'T SHOW UP. Do I have to re-edit some files since I upgraded to 3.0??? I'm guessing that since the template mods are obviously still in tact , all I have to do is edit some .php files....but which ones do I edit in order for this to show? Like I said, in the Admin CP I still have options for the Show Thread that somehow carried over from my Vb 2.3 hack I did. Which files do I have to re-edit for it to show up in vb 3.0? |
Erg..i guess it doesn't work for my version...this is a very simple hack, and i've done it all correct!
Oh well :nervous: |
Nice.
Is it possible to show the forum-title in the thread-list as well? |
I'm using 3.0.1 and I can't find the line "userfield_select_option" in member.php - has this been implemented in 3.0.1?
Possible that another hack is conflicting I guess... |
This hack works fine with vB3.0.1 !
The "userfield_select_option" is placed in the pre-cached templates. Just look for the following lines at the beginning of the member.php, line 32 PHP Code:
|
my question is, what do you exactly edit in the code so it only shows threads started in forums indicated... like how would would i show threads with forumd ids, 1,2,3,4,5 only?
|
I did it this way:
Code:
WHERE postuserid = '$userinfo[userid]' AND (forumid=1 OR forumid=2 OR forumid=3 OR forumid=4 OR forumid=5) AND visible='1' You don't need Code:
$forumids = implode ("', '", get_noaccess_forumids()) ; I'm sure there is a better way, eg put it in $forumids, but this works too. Now all I need is to list the forum-name too and I'm satisfied :D. |
No idea about the forums?
|
Fatal error: Call to undefined function: get_noaccess_forumids() in /home/sketch/public_html/vbtest/member.php on line 395
|
Quote:
any updates planed ? long time since last post in this thread ;) |
Errr.... if you check the file, it's been done already. Someone else supplied the forum permissions code and that code is Step 2 of the instructions.
Installed it, and it's working just fine :) |
I got this error in 3.0.3
Fatal error: Call to undefined function: get_noaccess_forumids() in /home/user/public_html/member.php on line 481 |
Quote:
If so, try looking at post #25, https://vborg.vbsupport.ru/showpost....2&postcount=25 :) Hope that helps |
oh no i didnt, but i deleted this line
$forumids = implode ("', '", get_noaccess_forumids()) ; and it worked... there is no special forums i want to exclude.. |
oh forgot to say thanks ;)
and you should update the file in the first post... it may help some people... regards, |
in regards to this,
$forumids = implode ("', '", get_noaccess_forumids()) ; will that automatically detect forums that some users are not allowed to view? ot do i need to add the forum ids? if i need to add them, where in that code?? It works fine on my forum, 3.0.3, until i click on my name and view profile from a thread...then i get an error... any help?? |
/me clicks install!
|
is there a way to make it in only certain fourmids? seprate with commas?
|
Yep, delete
PHP Code:
PHP Code:
PHP Code:
|
you rock man!!! If i could click the install button twice i would :p
|
Thanks:ps
|
Quote:
PHP Code:
|
Any way to do this so just the threads a user starts show up in the profile?
|
Quote:
Your code would need to look like this: PHP Code:
|
Very cool. Installed in minutes, thanks!
|
Great hack... however
Step 2: Open includes/functions_misc.php and find (1 change) Code:
// ###################### Start microtime_diff ####################### Code:
// ###################### Start no_access_forumids ####################### Code:
Fatal error: Cannot redeclare get_noaccess_forumids() (previously declared in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/includes/functions_user.php:517) in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/includes/functions_misc.php on line 18 |
Looks like you have the same function installed twice. Once in function_user.php and once in function_misc.php
Try removing the misc one and see what happens. |
works after i took out that line causing everyone trouble! clicks install thanks for tha hack!
|
anyone help me
i was installing user threads in (vb3) hack but i installed user threads(vb3) hack and well i have this error http://www.oh-twadi.com/forum/member.php?u=24 ^^not there its just example of where it was error below PHP Code:
PHP Code:
</b> |
also i dont get this
PHP Code:
|
installed flawlessly in 3.0.7 - thanks!
**clicks install** |
i have various errors can someone help me
1st error while creating new thread http://www.oh-twadi.com/forum/newthr...=newthread&f=7 PHP Code:
while veiwing a profile http://www.oh-twadi.com/forum/member.php?u=1 PHP Code:
|
I worked this out with Thug, and got it working for him. If anyone else wants to get this working simply follow the attached instructions instead.
|
still got a problem now
my members profile shows all threads,even though the limit is at 1 heres my codings PHP Code:
|
Is it possible that threads from a particular forum be displayed like it happens on VB.org threads in hack forums are displayed in profile.
|
All times are GMT. The time now is 04:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|