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)
-   -   MyBookmarks for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=41113)

Boofo 07-20-2002 02:30 AM

Check and see to make sure you don't have it set where they have to post a certain amount of posts before they can use the boomarks. I had that same thing happens because I had it set to something like 100 posts before they could use it. I knocked it down to 10 and it is fine now.

Quote:

Originally posted by Sue
ok, well I know that... :D but what I'm saying is, I don't have that table appearing in my User CP, and it doesn't appear in anyone else's either :)

Sue 07-20-2002 04:24 AM

Quote:

Originally posted by Boofo
Check and see to make sure you don't have it set where they have to post a certain amount of posts before they can use the boomarks. I had that same thing happens because I had it set to something like 100 posts before they could use it. I knocked it down to 10 and it is fine now.


https://vborg.vbsupport.ru/attachmen...&postid=274219

That's what it is right now.

Sue 07-20-2002 05:03 AM

ah nevermind. I just put the link to bookmarks.php in the welcome panel hack I installed on my board :)

Boofo 07-20-2002 05:11 AM

That'll do it. ;) Glad you got it working. :)

Quote:

Originally posted by Sue
ah nevermind. I just put the link to bookmarks.php in the welcome panel hack I installed on my board :)

bad_madman 07-24-2002 12:03 AM

Thanks for all suggestions... The new version is here:

Latest version: 1.10 (7-24-2002)

New Features / Updates 1.10:
  • Compatibility with FireFly's vBpad.
  • Support / add hyperlink (or 'hot key') on each thread: 'add to Bookmarks'.
  • Censor option for words in title/description/category for public Bookmarks.
  • URLs with censored words cannot save as public Bookmarks.
  • Ban user with bad Bookmarks. User cannot use Bookmarks any more.
  • Warn user with bad Bookmarks.
  • Report user's public bookmark(s) to administrator.
  • Admin options as extra file admin/bmadmin.php:
    - disable use of bookmarks for user
    - change user's bookmark status
    - delete private or all bookmarks
    - set all bookmarks to private
    - warn/ban user
    - email/PM user
    - user group permissions
    - search bookmark users
  • Public Bookmarks list with username.
  • Browse all public Bookmarks.
  • Allow/disallow users to change his hits/votes counter.
  • Status message during response test (add/modify bookmark).
  • Integration in member profile with template.
  • Optional: User must agree MyBookmarks rules.
  • Optional: User must agree MyBookmarks rules again after warning.
  • Optional: Number public bookmarks/views (or image) in member profile.
  • Optional: Number public bookmarks/views (or image) in members list.
  • Maximum number bookmarks now per usergroup adjustable.
  • Bug: wrong table width in templates.
  • Bug: click bookmark link in 'rate bookmark popup' get a blank page.
  • Bug: 'jump' and 'random link' feature causes a 'no permission' message.
  • Bug: wrong page title (<title>...</title>) in template 'mybookmarks_browsemp'.
  • Bug: in 'mybookmarks_add' and 'mybookmarks_modify' static max char length / javascript changed.
  • More compatibility in templates 'mybookmarks_browsemp' and 'mybookmarks_browsecp': ascending and descending.
Download and install instructions in zip archiv from 1st post...

Erwin 07-24-2002 02:50 AM

Thanks - upgraded and working fine! :)

Birdie501 07-24-2002 09:47 AM

hi,

works great! Your install/upgradde script is really great. Very easy.

Bad :) :
1) I have to translate again!
2) in postbit it shows me : Favoriten: 2 ( Aufrufe)
but in memberlist Favoriten: 2 ( 3 Aufrufe)
why is the number 3 missing?


Where can i set this?
Support / add hyperlink (or 'hot key') on each thread: 'add to Bookmarks'.

how to get the options for usergroup permissions for mybookmarks? Because in "vbulletin options" i cant find, only in last step of sqltodos5.php?
Forgot to add a link in admin cp?

Thanks.

Parker Clack 07-24-2002 03:53 PM

One thing that I have noticed is that if you are in Chen's quickreply box and you hit Shift B it will take you to the bookmark.

Is there anyway to disable the Shift B taking you to the Bookmark page?

Parker

Boofo 07-24-2002 03:55 PM

Take out the javascript code for it. :)

Quote:

Originally posted by Parker Clack
One thing that I have noticed is that if you are in Chen's quickreply box and you hit Shift B it will take you to the bookmark.

Is there anyway to disable the Shift B taking you to the Bookmark page?

Parker


Birdie501 07-24-2002 04:31 PM

or just replace the java script code

find:
if (String.fromCharCode(WhatKey)=="B")

and replace with:
if (String.fromCharCode(WhatKey)=="?")

the you can add the thread to bookmarks when you press Alt Gr+ m

Sorry i dont know if this is international? On my german keyboard it is :)

bad_madman 07-24-2002 04:39 PM

Quote:

Originally posted by Birdie501
1) I have to translate again!
2) in postbit it shows me : Favoriten: 2 ( Aufrufe)
but in memberlist Favoriten: 2 ( 3 Aufrufe)
why is the number 3 missing?

thx for report. is fixed in zip archive...
Quote:

Originally posted by Birdie501
Where can i set this?
Support / add hyperlink (or 'hot key') on each thread: 'add to Bookmarks'.

Make the changes in the installation instructions. This is in the template showthread.
Quote:

Originally posted by Birdie501
how to get the options for usergroup permissions for mybookmarks? Because in "vbulletin options" i cant find, only in last step of sqltodos5.php?
Forgot to add a link in admin cp?

Ouh. The hyperlink is missing in the vB Admin options :nervous: search in admin/index.php for:
PHP Code:

makenavoption("Build Mailing List","email.php?action=genlist"); 

and replace with:
PHP Code:

makenavoption("Build Mailing List","email.php?action=genlist","<br>");
makenavoption("MyBookmarks","bmadmin.php?action=findusers"); 

Quote:

Originally posted by Parker Clack
One thing that I have noticed is that if you are in Chen's quickreply box and you hit Shift B it will take you to the bookmark.
Is there anyway to disable the Shift B taking you to the Bookmark page?

I would like to answer in the quickreply box and enter "...blabla nice. B" Oops. I am on a completely different page. *LOL :p
Thx for your report :classic: Boofo's solution is ok (remove javascript from template showthread) or change 'hot key' (Birdie501's solution). And I have changed the installation instructions... :bandit:

Birdie501 07-24-2002 05:13 PM

Hi bad_madman,

can you please tell me what you have changed, because i dont want to search through or make a new install.
Thanks.

scottct1 07-24-2002 06:01 PM

How do I do the following?

Public Bookmarks list with username.
Browse all public Bookmarks.

I want my users to be able to be able to see all Public Bookmarks. The only way I see to see others public bookmarks (besides in their user Control Panel) is to do a search.

I would like them to be able to see all the public bookmarks and all the Public categories. (infact if users could store bookmarks in already created categories it would be cool as well.

Thanks!

bad_madman 07-24-2002 08:37 PM

Quote:

Originally posted by Birdie501
Hi bad_madman,
can you please tell me what you have changed, because i dont want to search through or make a new install.
Thanks.

Search in file showthread.php for:
Code:

post.*".iif($bmpublicbrowse!="0",",SUM(bookmarks.public) AS bmcount","").",post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
and replace with:
Code:

post.*".iif($bmpublicbrowse!="0",",SUM(bookmarks.public) AS bmcount,SUM(bookmarks.counter) AS allhits","").",post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
and search in showthread.php for:
Code:

".iif ($bmpublicbrowse!="0","LEFT JOIN bookmarks ON bookmarks.userid=user.userid","")."
WHERE $postids
GROUP BY post.postid

and replace with:
Code:

".iif ($bmpublicbrowse!="0","LEFT JOIN bookmarks ON bookmarks.userid=user.userid AND bookmarks.public='1'","")."
WHERE $postids
GROUP BY post.postid

that's all

bad_madman 07-24-2002 08:50 PM

Quote:

Originally posted by scottct1
How do I do the following?
Public Bookmarks list with username.
Browse all public Bookmarks.

I want my users to be able to be able to see all Public Bookmarks. The only way I see to see others public bookmarks (besides in their user Control Panel) is to do a search.

I would like them to be able to see all the public bookmarks and all the Public categories. (infact if users could store bookmarks in already created categories it would be cool as well.

This works per default. You need to do nothing. You find the hyperlink 'Browse all public Bookmarks' on every page below, if you look at the Public Bookmarks of a user. Or put this hyperlink someplace:
Code:

<a href="http://domain/forum/bookmarks.php?&action=mpbrowse&userid=all">View all user's public Bookmarks</a>
No categories are shown there. The categories list could very much be (e.g. with 100 bookmarks users...). If you liked to show the categories nevertheless, then change something in file bookmarks.php:
search for
Code:

//        $allcategories=1;
and remove double slash

Smoothie 07-24-2002 08:58 PM

Quote:

Ouh. The hyperlink is missing in the vB Admin options
How to add this?

Smoothie 07-24-2002 09:05 PM

Quote:

Originally posted by bad_madman


Search in file showthread.php for:
Code:

post.*".iif($bmpublicbrowse!="0",",SUM(bookmarks.public) AS bmcount","").",post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
and replace with:
Code:

post.*".iif($bmpublicbrowse!="0",",SUM(bookmarks.public) AS bmcount,SUM(bookmarks.counter) AS allhits","").",post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
and search in showthread.php for:
Code:

".iif ($bmpublicbrowse!="0","LEFT JOIN bookmarks ON bookmarks.userid=user.userid","")."
WHERE $postids
GROUP BY post.postid

and replace with:
Code:

".iif ($bmpublicbrowse!="0","LEFT JOIN bookmarks ON bookmarks.userid=user.userid AND bookmarks.public='1'","")."
WHERE $postids
GROUP BY post.postid

that's all

What does these changes do? Also, the first search and replace, there's 2 instances. Replace both?

Smoothie 07-24-2002 09:09 PM

There's an admin options link in the view public bookmarks. When I click on it it says I don't have permission. Whats it for?

Boofo 07-24-2002 09:16 PM

Strange...I'm not finding any of this in my Showthread.php.

Quote:

Originally posted by bad_madman


Search in file showthread.php for:
Code:

post.*".iif($bmpublicbrowse!="0",",SUM(bookmarks.public) AS bmcount","").",post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
and replace with:
Code:

post.*".iif($bmpublicbrowse!="0",",SUM(bookmarks.public) AS bmcount,SUM(bookmarks.counter) AS allhits","").",post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
and search in showthread.php for:
Code:

".iif ($bmpublicbrowse!="0","LEFT JOIN bookmarks ON bookmarks.userid=user.userid","")."
WHERE $postids
GROUP BY post.postid

and replace with:
Code:

".iif ($bmpublicbrowse!="0","LEFT JOIN bookmarks ON bookmarks.userid=user.userid AND bookmarks.public='1'","")."
WHERE $postids
GROUP BY post.postid

that's all


Smoothie 07-24-2002 09:19 PM

Quote:

Originally posted by Birdie501
or just replace the java script code

find:
if (String.fromCharCode(WhatKey)=="B")

and replace with:
if (String.fromCharCode(WhatKey)=="?")

the you can add the thread to bookmarks when you press Alt Gr+ m

Sorry i dont know if this is international? On my german keyboard it is :)

What if I want to use alt B as the key command? What would I enter?

bad_madman 07-24-2002 09:21 PM

Quote:

What does these changes do? Also, the first search and replace, there's 2 instances. Replace both?
This removes the problem that the Hyperlink to posters Bookmarks aren't correctly shown on the profile in the thread. And yes, replace both...

You don't have to change this, if you have downloaded the installation file within the last 4 hours

You don't have to change this, if you don't want to have the number public Bookmarks in the profile in the thread, either.

e.g.: number public bookmarks on each thread in member infos.
(see screenshot)

Quote:

There's an admin options link in the view public bookmarks. When I click on it it says I don't have permission. Whats it for?
Only the administrator with the UserID 1 has access to this page.

Quote:

quote:
Ouh. The hyperlink is missing in the vB Admin options
How to add this?
insctuctions in post now : https://vborg.vbsupport.ru/showthrea...&postid=276368

Boofo 07-24-2002 09:23 PM

Just change the "B" to whatever key you want to use with the ALT command. :)

Quote:

Originally posted by Smoothie
What if I want to use alt B as the key command? What would I enter?

DestyNova 07-24-2002 09:38 PM

bad madman,

I m bit confuse, I read thur all posts and I wonder new update (1.10) that you post today have everything fix or should I fix some like add miss link in AdminCP as some members stated?

thanks

bad_madman 07-24-2002 10:05 PM

The Admin program (bmadmin.php) is new since the version 1.10. I have forgotten this entry in the new installation instructions. The problem also is removed now (is in the instructions now).

Quote:

Originally posted by DestyNova
bad madman,

I m bit confuse, I read thur all posts and I wonder new update (1.10) that you post today have everything fix or should I fix some like add miss link in AdminCP as some members stated?

thanks


Smoothie 07-24-2002 10:19 PM

Quote:

Only the administrator with the UserID 1 has access to this page.
I'm not userid 1. How would I change it to my userid? Which file do I change. Userid 1 is no longer around.

Smoothie 07-24-2002 10:35 PM

bad_madman,

Is it possible to show bookmarks in the members info in each thread only if they actually have bookmarks?

Smoothie 07-25-2002 02:59 AM

Is there any way to have this member info invisible unless they have bookmarks?

bad_madman 07-25-2002 11:23 AM

Quote:

Originally posted by Smoothie
I'm not userid 1. How would I change it to my userid? Which file do
I change. Userid 1 is no longer around.

Search in bookmarks.php for:
Code:

        if ($action=="admin" and
$bbuserinfo[userid]!="1") show_nopermission();

and replace
$bbuserinfo[userid]!="1" with new ID (1=ID). e.g.
$bbuserinfo[userid]!="5", if your id = 5

Quote:

Originally posted by Smoothie
Is it possible to show bookmarks in the members info in each thread
only if they actually have bookmarks?

Unfortunately not. The template mybookmarks_postbit is responsible for
this thing. However, this also is used for the members list.
You need a new template for this and must change something in the file
showthread.php. Well, it is a little more effort... If you liked, then I
send you short instructions.
Quote:

Originally posted by Smoothie
Is there any way to have this member info invisible unless they have bookmarks?
You mean the member info in members profile?

scottct1 07-25-2002 12:49 PM

Thanks Madman, that worked great!

BTW Thanks for using me and my board for your example gif. :)

My users love the bookmark feature!

Scott
DBStalk.COM

DestyNova 07-25-2002 05:08 PM

Quote:

Originally posted by bad_madman
The Admin program (bmadmin.php) is new since the version 1.10. I have forgotten this entry in the new installation instructions. The problem also is removed now (is in the instructions now).


Thanks for response so fast

==install==

Smoothie 07-25-2002 05:25 PM

PHP Code:

and replace
$bbuserinfo
[userid]!="1" with new ID (1=ID). e.g.
$bbuserinfo[userid]!="5", if your id 

Yep, got it! thanks.
Quote:

Unfortunately not. The template mybookmarks_postbit is responsible for
this thing. However, this also is used for the members list.
You need a new template for this and must change something in the file
showthread.php. Well, it is a little more effort... If you liked, then I
send you short instructions.
Yes, that would be great.
Quote:

You mean the member info in members profile?
Yea, same question twice, sorry.

Sue 07-26-2002 05:46 PM

possible feature to import your own bookmarks from your web browser?

DestyNova 07-26-2002 05:50 PM

Quote:

Originally posted by Sue
possible feature to import your own bookmarks from your web browser?
Oh yeah I d love to have that feature

bad_madman 07-26-2002 09:22 PM

I plan a new version 1.20 for this weekend. Among others new:
- Complete support of different languages by new template
- Bookmarks import
- Containing all German templates now
- Allow/disallow save of public bookmarks
- More admin tools in bmadmin.php
- Bug fixed: no max number allowed bookmarks on 'add' page

indiamike 07-27-2002 08:02 AM

Quote:

Originally posted by bad_madman
[B]I plan a new version 1.20 for this weekend. Among others new:

- Bookmarks import
-[B]
Whoa!!! I can't wait for this....man this hack just keeps getting better.

:) Mike

Birdie501 07-27-2002 12:07 PM

Yep, sounds good! :)

bad_madman 07-30-2002 12:23 AM

new version...

Updates 1.20 (7-30-2002):
- Complete support of different languages by new template.
- Containing all German and English templates now.
- Import Bookmarks from bookmarks file.
- Option: Allow/disallow save of public bookmarks.
- Option: User can ignore URL validity.
- Option: What may a deactivated/banned/warned user do...
- Bug: no max number allowed bookmarks on 'add' page.
- Small bug fixes in file bookmarks.php
- More possibilities in bmadmin.php

Erwin 07-30-2002 12:43 AM

Great update! I love your installer file! It's fast and easy and quick! Thanks for the import feature - it's like a dream come true!

DestyNova 07-30-2002 02:14 AM

/me bow

Great hack! I m going to test it right away

indiamike 08-02-2002 08:42 PM

Update to the new version went smooth.

I do have a question or request. With the Netscape upload is it possible to have a link or a explanation so the user can figure out how to do this?

Since I never use Netscape it took me a good five minutes of figuring out that I could export my bookmarks to an html file.

Good Job though on the update.

Cheers
Mike


All times are GMT. The time now is 05:17 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.01481 seconds
  • Memory Usage 1,870KB
  • 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
  • (15)bbcode_code_printable
  • (3)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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