![]() |
Thanks...I'm working on this mod now...hoping to get it to work
|
I'm getting better at this...wish me luck...but where do I find this info and how do yu perform this action?
Add the following Phrases: ********** Phrase Type: Global Varname: already_viewed_this_thread Text: Already viewed this thread: Phrase Type: Global Varname: already_viewed_this_thread_since Text: Already viewed this thread since: |
Bump
Could some one please tell me where I need to enter the above Phrases? Is it in the database, if so. how do you do it? tru phpmyadmin? Is it in the fourm home template...which I did find eventually...and if it there...where do they go? Please somebody chime in here...or is this a hopeless cause try to install this hack |
I was able to find it finally...
It in my AdminCP Would be nice if coders would add a litle something extra to direct us to where these modifications are needed of these hacks/mods for us newbies... But good work none the less |
Quote:
vB is not that different. If you are trying to install a hack, it is generally assumed that you have some idea of how to use the stock forum software. If you don't, you can ask for help - and you will generally receive it... But don't criticize others for your own lack of knowledge. :) |
But don't criticize others for your own lack of knowledge.
I'm sorry...what gave you that idea...not sure where that came from... All I was suggesting...is that the directions be complete with all necessary hacking information. This would prevent newbies like me having to come to this thread and ask the question I have been asking and then get a response that generally solves the question or raises additional questions that could have been included in the instructions. I realize that there is a format that coders use...thats obvious from looking at most of the text from these hacks/mods. Again it was only a suggestion on my part that if the instructions where a bit more detailed...a lot of the questions on how to do this and how to do that could be eliminated...I was not critiquing anyone... I agree with you about having some sort of knowledge about the forum software...but not to go into a long history about my lack of knowledge on these hacks and mods...I am...well was faced with having to do these on my own...because I lost my webmaster...and being on a dedicated server...I'm not about to just let anybody access my stuff...so I decided to learn on my own...as I did not have the luxury of a webmaster to do this for me. So...I apologize to you and to whomever else my last post insulted...not my intention at all. PS: I have finally got this hack installed and working like a charm...Kodo's to all who made this one work. |
Quote:
So, you see, coders have to start somewhere. A reasonable assumption is that if you are ready to modify your board, you should have a reasonable idea of how to use it in its stock form. Otherwise, instruction files would be 20 times longer, if coders started with a basic tutorial on how to use vBulletin to begin with. :) Quote:
|
Agreed...I was only trying to help...I do appreciate the efforts you and the other coders put forth with these hacks.
May I ask another question...that does not really have ot do with this hack...well sorta. In the forumhome template...I have four templates installed...all differnet color templates. Is there a way to modify all tmeplates at one time...meaning I modify the first template...and then do something that makes the modifaction to the other three at the same time...or do I need ot make the changes one at a time? |
Quote:
|
Quote:
*theArchitect clicks install*. Though, for some reason the "Already viewed this thread since:" is displaying "never" rather than a date and time shown in your screen shot. Have I messed something up in the install? BTW, I found the install process very simple, but I amended the SHOWTHREAD template as I have currently active users at the top and not the bottom. Also, and I don't know if this is of interest to anyone. When I downloaded the .txt file and opening it in the default app text edit everything was fine. But when I opened the file in my editor of choice (BBEdit) I got some strange symbols. And if anyone says, that?s Mac?s for you they are a dead man. |
Quote:
Quote:
Until the first time you reset the second counter for any given thread, the second counter will show the exact same results as the first. Quote:
|
Quote:
Is there a short cut to do them all. I have one or two of them. edit: Err. I just hit reset counter and got: Code:
Fatal error: Call to undefined function: is_member_of() in \forum\misc.php on line 8 |
Quote:
Otherwise, you can just leave them be. :) Quote:
The problem is that the error message states that you put that addition in the very beginning of the misc.php file (before the global functions are pre-loaded). You need to move the hack's added code to the right place in Misc.php - refer to the instructions for details. :) |
Thankyou Ocean. Your prompt and accurate advice is most appreciated.
|
Quote:
|
This is a great hack...but...is there a way to pick and choose who can see this?
Meaning...right now all admins can see the hack...but no supermods or regualr mods. I no it may be some work. Is there a section that can be edited to allow additional userid to view this hack? |
Quote:
See my following post about the new version. :) Edit: I released a new version initially, but I subsequently pulled it, because I wanted to make the Security settings easier to work with. Give me a bit, and I'll post the new version here. :) |
Hi, all! I have just released v1.2.5 of this hack.
The only changes that were made, was to allow for more flexibility in deciding who could view this hack, and the ease that you could choose which Security Layout you wanted to use (No more "remove this" or "uncomment that". Now, other than choosing which UserGroups you want to have access to this hack, you only have to change ONE variable in order to select which Security Option you want to use). :) As before - by default, only Admins can see any of the "Who Viewed" information, and only Admins can Reset the second section. However, if you wish to change this, there are now three options you can choose from: Option 1: If you want ALL users to be able to see BOTH sections of "Who Viewed" information. Option 2: If you want to specify ONLY certain UserGroups IN ADDITION to Admins that can see BOTH sections of "Who Viewed" information. Option 3: If you want ALL users to see the first section of "Who Viewed" information, but wish to specify that ONLY certain UserGroups can see the second section of "Who Viewed" information. Regardless of which option you choose, ONLY Admins can Reset the second section. If the default security setup is fine with you, than installation is mostly just a matter of inserting code where instructed. However, if you want to choose any of the other security options, instructions are in the code changes for the ShowThread.php file. It's a LOT easier now. :) If anyone wishes to upgrade from 1.2.1 to 1.2.5, all you have to do is replace the code additions to ShowThread.php and the SHOWTHREAD Template from the new instructions. Then, if you wish to modify the security settings, follow the instructions in the ShowThread.php section to do so. :) |
I just finished installing your newest release...and this is one great hack...but I have one question.
If you click on the Who viewed this thread's minimize arrow to collapse that box it does just fine...but if you try the same thing with the who viewed this thread since...it does not collapse that box...it collapse the who viewed this thread since instead. What part of the code handles the collapsing of the boxes...so I may check and see if I made an error. |
Quote:
I fixed the problem and released 1.2.6. Anyone upgrading from v1.2.5 ONLY - can just replace the code added to the SHOWTHREAD Template (Step 6), and you'll be fine. Anyone upgrading from v1.2.1 to v1.2.6 only needs to replace the code additions to ShowThread.php in addition to the SHOWTHREAD Template. :) |
Alright, everyone - I have a question for you.
I'm looking at filling the requests that this hack show up as a link which opens a Pop Up Window with the requisite information. The question I'm posing to all of you is this: if I do this, does anyone still feel that it is beneficial to be able to optionally have the information display on the thread itself (the way it does currently)? Or would everyone unanimously prefer that it only display the information as a Pop Up? If everyone wants it as a Pop Up, I may not retain the current format. On the other hand, if there are those who like it as it is - I may make it an option, so that you can select which format you prefer. Let me know. :) |
I would like to see it as an option...Mine is set to display on admin and staff...but if this where to be visable boaRd wide...then yes a popup would be nice
|
Personally, I think the popup is what is prefered. You might not want to see who viewed ALL topics, just the ones you really want to monitor. Besides, this might open the door for my previous request ;) !
|
An option to do either would seem to make everyone happy. :)
|
Quote:
Well, everyone - I'm working on the next version, which will have a user-selectable option to make the "Who Viewed" information available via a Pop Up Window (or, you could choose to see them on the ShowThread page, as it is now). :) I should have it released this week, if all goes well. :) |
Alright everyone!
I have just released v1.3.0 of this hack, and I have given you what you asked for: the ability to have the Who Viewed information displayed in a Pop Up, instead of directly in the ShowThread page. :) I made it so that you can choose which Display Mode you prefer - to have the Who Viewed information show up directly on the ShowThread page (as it was for all prior versions), or to only show a Link on the ShowThread page that opens a Pop Up Window with the Who Viewed information there. I also consolidated and cleaned up the code - so now (among other changes) there is a distinct Configuration Section in the ShowThread.php code addition. For users upgrading from v1.2.6 (and these instructions ONLY apply to users coming from v1.2.6), download the v1.3.0 instructions and do the following: 1. Remove the code addition you previously had added to Misc.php. It is no longer needed. 2. Follow Steps 3-4 in the v1.3.0 Instructions file. 3. Replace the old (v1.2.6) code additions to ShowThread.php with the new version of code (Steps 5-6). 4. Replace the old (v1.2.6) code additions to the SHOWTHREAD Template with the new version of code (Steps 8-9). 5. Follow Steps 10-11 in the v1.3.0 Instructions file. 6. Test to make sure the hack works properly (do this BEFORE you change anything in the Configuration Section). 7. Optional: Edit the Configuration Section in the new Code you just added. That's it! Let me know what you think of the new Pop Up functionality! :) |
Quote:
I had just installed 1.2.6 this morning! :D Thanks! Will try out the upated mod this evening. :) :banana: |
Quote:
I know how much I hate waiting weeks or months for other developers to make changes or improvements - so I try to not do the same thing. If it really bothers you, I could start waiting a month or two longer than necessary before releasing new versions... <grin> |
Quote:
|
Quote:
There are no functional changes with v1.3.1 (versus v1.3.0) - I made some minor improvements to the aesthetics, that's all. I updated the screenshots on the first post in this thread - so you can take a look and decide if you want those changes now, or if you'd rather wait until the next functional release. :) For anyone upgrading from v1.3.0 to v1.3.1 - just replace the code inserted into the SHOWTHREAD Template, as well as the entire contents of the WhoViewedTemplate Template. That's it. You're not overwriting any configuration settings - so it's just two quick replacements and you're completely done. :) |
Hi im confused I done the phrase but and all upto number 6 then I have no idea
what this is talking about, is it a New template, a new file :( Code:
6. Above, Add: Can someone explain please |
Quote:
Step 5 tells you to find a bit of code in the ShowThread.php file. Step 6 tells you to insert the following segment above the code you found in Step 5. The segment is defined as the code between ******************************** 6. Above, Add: ********** Insert the code that appears between these two lines of asterisks. ******************************** 7. Optional Step: In the code you just added in the previous step, there is a Configuration Section. If you wish, you can modify this hack's behavior and permissions there. Instructions can be found within the Configuration Section. ******************************** |
So for no 6 I just add:
********** whats the CONFIGURATION ? |
Quote:
As for the Configuration section - the information you need is written out right there for you. Read it, and you'll understand. |
Hi, I did it this is my showthread.php file...
Code:
$whoviewed_group_approved = true; There is no errors but I can't see it anywhere.... |
Quote:
|
Hello, sorry but I was confused I worked it out ..
Anyway would you not be able to add the times people viewed the topic in the next version, and as well as the view count add a drop down menu which will list the times they viewed the topic in more detail For example viewed 7 times (click something to bring up in more details +) test - the time they viewed test - the time they viewed test - the time they viewed test - the time they viewed test - the time they viewed test - the time they viewed test - the time they viewed This is my phpbb one that I had for so long, the more details are not on the phpbb one either is the reset function... |
Quote:
|
When you have $whoviewed_display_option = 2;
Those who are not allowed to view "who viewed list" should NOT see the link "List users who viewed this thread" either HTML Code:
<if condition="$whoviewed_display_option == 2"> Quote:
|
Quote:
|
All times are GMT. The time now is 10:08 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:
|