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 08-04-2002 09:08 PM

You can change the template 'mybookmarks_optionsstats' for this. Insert your explanation or add a link... :bandit:
Quote:

Originally posted by indiamike
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?

Learner29 08-09-2002 07:06 PM

I was REAAAAL suprised by the installation of this hack !

I admit I did not read well what it does before installing it. I thought it would only allow the users maybe to have bookmarks towards threads ON THE FORUM.

Now that it is installed, I would only allow moderators and supermods to use it... I am afraid it might make life even harder for novice users, and the risk of having links to warez and adult sites is high.....

Learner29 08-09-2002 07:07 PM

but I should add that it is really an EXCELLENT hack...

The idea is real cool and it is really nice to have it .... but once again, I would only allow that for the mods and super mods... :p

Learner29 08-09-2002 07:36 PM

is this known to interfere in any way with the emailing function of the forums.

I just installed this hack , and suddenly now, noone (including myself, the admin) is receiving any emails I send using the "email users" feature of vb.

any help please ????

bitbender 08-09-2002 10:14 PM

Well, I never thought of that. Perhaps a future add-on would be a table of
site names that aren't allowed? That would solve it, and it should be fairly
easy to source. Unless, having such a table in itself would be a violation.
For my forum, I'll just relegate myself to keeping an eyeball on this. at
BBF, this feature is deployed, and mostly the admins/mods use it, and some
of the tech advisors..the n00b's that do use it, book mark forum threads.
I'm not sure they have learned that they can do external links, yet..

Once things is for sure, once the illegal link is discovered, it's fairly
easy to fix, both for the link, and the member who originated it.

Best Regards

Erwin 08-10-2002 12:05 AM

Quote:

Originally posted by Learner29
is this known to interfere in any way with the emailing function of the forums.

I just installed this hack , and suddenly now, noone (including myself, the admin) is receiving any emails I send using the "email users" feature of vb.


any help please ????

No, email still works fine for me. Are you sure it's the hack? Or possibly your mail server...

Learner29 08-10-2002 12:59 AM

I am sure it is not related to my server.
I have another forum on the server and it is working fine.

Schorsch 08-10-2002 04:09 AM

great hack, works fine :)

Thank You very much!

regards,
Schorsch

aidler 08-19-2002 02:22 PM

Great Hack!!!! I have only one minor problem. On my Member Profil Page the line "xxx's Bookmarks:" does show nothing. Am I the only one who has this problem? Any suggestions?

bad_madman 08-21-2002 01:16 AM

Quote:

Originally posted by aidler
Great Hack!!!! I have only one minor problem. On my Member Profil Page the line "xxx's Bookmarks:" does show nothing. Am I the only one who has this problem? Any suggestions?
Have you changed the template getinfo and the file member.php?

aidler 08-21-2002 09:23 AM

Yes I have.

Part of my getinfo template....

Code:

<tr>
        <td bgcolor="#13486D"><normalfont><b>$userinfo[username]'s Bookmarks:</b></normalfont></td>
        <td bgcolor="#13486D"><normalfont>$bookmarklink$userinfo[publics] Public Bookmarks / $userinfo[allhits] Views</normalfont></td>
</tr>

And I inserted this into member.php

PHP Code:

// ~~~~~~~~~~~~~~~~~~~~ MyBookmarks Hack  1.10 - by Madman ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
if($bookmarktest=$DB_site->query_first("SELECT COUNT(bmid) AS count,SUM(counter) AS allhits FROM bookmarks WHERE public='1' AND userid='$userinfo[userid]'") and $bookmarktest[count]>and $bmpublicbrowse and $bmenabled)
        eval(
"\$bookmarklink=\"".gettemplate("mybookmarks_memberprofile")."\";");
    
$userinfo[publics]=($bookmarktest[count])?"$bookmarktest[count]":"0";
    
$userinfo[allhits]=($bookmarktest[allhits])?"$bookmarktest[allhits]":"0";
  
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

....and nothing was not absolutely correct. I can see the following:
"xxx's Bookmarks: Public Bookmarks / Views ". The variables $bookmarklink, $userinfo[publics] and $userinfo[allhits] obviousely don't hold any values.

Buddha 09-06-2002 12:11 PM

this is a fantastic hack!
love it.
thank you very much.
installed like a breeze, tested and works perfectly. hell, i gave myself a 500 limit so i can store all of my bookmarks using this... will make it easier when going back and forth between work and home.
thanks a lot bud!

*clicks installed*

Okiewan 09-06-2002 12:28 PM

Quote:

Database error in vBulletin 2.2.1:

Invalid SQL:
SELECT
post.*,SUM(bookmarks.public) AS bmcount,SUM(bookmarks.counter) AS allhits,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,

attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter,style.title as styletitle
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN style on (user.styleid = style.styleid)
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid = '113307'

mysql error: Unknown table 'bookmarks' in field list

mysql error number: 1109
This error started after a recent apache/php upgrade. Any input would be appreciated, getting tons of error email :(

In addition... users are saying that suddenly others are on their Ignore Lists ... when they "click here to read thread" another bookmarks related SQL error shows.

Odd stuff.

kira 09-06-2002 06:29 PM

bad_madman, thank you for this fabulous hack. I'm running it on my test forum and I can't wait to give it a try on my real site.

I'm wondering if there's any way this can be modified or reworked to create a regular link directory, i.e., an addon to the main site rather than just confined to the members' control panels. (I know there are other vB-Link Directory type of hacks, but MyBookmarks seems to work more smoothly than they do... my apologies to the creators of those hacks if they're around!) Anyone interested in fiddling with this idea? Should I post this in "requests" maybe?

At any rate, thanks again for the excellent work!!

Dean C 10-08-2002 05:43 PM

jus found this hack :D

wonderful... goes off to install on my testboard :D

- miSt

incursio 11-02-2002 12:18 PM

It seems that links with ampsersands (&) in them get written to the database as "&amp;" (html entities). Obviously, that causes a problem when displayed, and people try to click on it.

Has this been fixed in a newer version? I think I'm still running the original release ...

NuclioN 11-10-2002 01:20 AM

Quote:

Originally posted by Okiewan


This error started after a recent apache/php upgrade. Any input would be appreciated, getting tons of error email :(

In addition... users are saying that suddenly others are on their Ignore Lists ... when they "click here to read thread" another bookmarks related SQL error shows.

Odd stuff.

Yep, same error over here. When a user is on ignore and someone clicks "HERE" to read the post, this error shows up :(

Esdee 11-25-2002 08:21 PM

Awesome hack.

One problem though, the shortkeys are shift+b Which is real annoying as no one on myt forum can type a capital B anymore >.<

ryancooper 11-28-2002 12:51 PM

Great hack. . . took all of 5 min to install and works like a charm!! Thanks!

flup 12-13-2002 05:17 PM

Havin' some problems with this hack.

DId everything the file said to me.
Edited templates and edited files, but the bookmarks wont appear in my User CP :(

flup 12-13-2002 05:19 PM

Quite stupid of me, forgot to open bookmarks.php
Thx for this hack!

Brahm 12-20-2002 10:41 PM

Thanks BadMadman!

I love this hack!

Crazy Pete 01-02-2003 06:10 PM

Quote:

Quote:

Originally posted by Okiewan


This error started after a recent apache/php upgrade. Any input would be appreciated, getting tons of error email

In addition... users are saying that suddenly others are on their Ignore Lists ... when they "click here to read thread" another bookmarks related SQL error shows.

Odd stuff.

Originally posted by NuclioN


Yep, same error over here. When a user is on ignore and someone clicks "HERE" to read the post, this error shows up :(

Same thing with me, here's the error I'm getting...



Database error in vBulletin 2.2.9:


Invalid SQL:
SELECT
post.*,SUM(bookmarks.public) AS bmcount,SUM(bookmarks.counter) AS allhits,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
,signature.signaturepath,NOT ISNULL(customsignature.signaturedata) AS hascustomsignature,customsignature.dateline AS signaturedateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN signature ON signature.signatureid=user.signatureid
LEFT JOIN customsignature ON customsignature.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid = '2777'

mysql error: Unknown table 'bookmarks' in field list


mysql error number: 1109


Date: Thursday 02nd of January 2003 03:02:42 PM
Script: http://www.expectedmiracles.com/foru...st&postid=2777
Referer:

Anyone know how to fix this? Seems to be the only error I've ever gotten and it keeps popping up from time to time.

LangTuDaTinh 01-04-2003 10:18 AM

i have same problem as Crazy Pete and others. ..please fix this ....this is a great hack

also

backup feature doesn't work....always give me a blank page

LangTuDaTinh 01-05-2003 06:47 PM

can someone help me to fix above error please....please

thanks

LangTuDaTinh 01-10-2003 10:19 PM

can someone please fix this bug....thanks

bad_madman 01-13-2003 08:27 PM

@LangTuDaTinh
because of the db error, pls test:

search in showthread.php for:
Code:

        WHERE post.postid = '$postid'
and replace with:
Code:

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


Crazy Pete 01-13-2003 08:31 PM

@bad madman - That worked!! Thanks!!! :thumbup:

Angelus 01-17-2003 11:45 AM

wie w?re es denn noch mit einen deutschen [german] bmadmin.php file das w?re dann echt super ;)

Thanks

Esdee 01-19-2003 09:36 AM

Quote:

Originally posted by Esdee
Awesome hack.

One problem though, the shortkeys are shift+b Which is real annoying as no one on myt forum can type a capital B anymore >.<

still the same prob.
WHen anybody types B, they go to the bookmarks page and their post is lost.

ImportPassion 03-05-2003 06:37 PM

i need to add the template edits to my ne templates. How do I add these edits when the release is an app itself that does everything?

Derek

ChurchMedia 06-24-2003 12:08 AM

Quote:

07-24-02 at 10:55 AM Boofo said this in Post #89

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
Take out the javascript code for it. :)
Which template or file is the javascript in? Thanks! :)

gt3400 07-24-2003 08:42 PM

Is there any way to intergrate this with a non-vb page to add a bookmark? For example something like http://boards.shockonline.com/bookmarks.php?s=&action=add&whatever=http://www.blahblahblah.com

gmarik 11-07-2003 11:27 AM

Does it works ok on 2.3.2?
Could it be done so I could
see all my bookmarks on my
forumhome page in a dropdown
box somewhere?

subu1 11-16-2003 01:44 PM

klasse, werde mich mal dran machen und Ihn installen.

super hab den installt;)

subu1 11-16-2003 07:25 PM

i thing i have a error in my Postbit. I have 3 Bookmarks but i don't see in there.

Can everybody help me, here is my Postbit

http://www.eselsreiter.netcheckersho...562#post111562

Edgemyster 01-27-2004 05:53 AM

I'm not sure if anyone else has posted this in the thread, but I thought I'd leave a note in case someone else runs into this problem.

Hack works great - BUT, any member with a userid greater than 32767 could not correctly create a bookmark.

To fix this, I had to adjust the 'userid' field in 'bookmarks' within the database. I had to change it from SMALLINT (since I had more members than the allowable range) to MEDIUMINT.

No more problem.

papoo 02-20-2005 07:53 PM

this hack soon in vb3.x.x??

Creed 02-20-2005 11:59 PM

Yes, I would really like to see this hack for version 3 as well!!

totenmaske 08-14-2005 02:10 AM

Quote:

Originally Posted by Creed
Yes, I would really like to see this hack for version 3 as well!!

And here's another vote!


All times are GMT. The time now is 02:58 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.01361 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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