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)

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?


All times are GMT. The time now is 12:51 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.01248 seconds
  • Memory Usage 1,765KB
  • 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
  • (14)bbcode_code_printable
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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