• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[pfps.com.br] Bookmark Posts

Status
Not open for further replies.
I spotted a few more bugs in my testing.

The phrase x_do_not_have_any_bookmarks should be does not have any bookmarks.

The share and unshare this icons were a bit confusing at first, I thought they were sharing with social networks.
I'll probably remove those icons and replace them with Make Public/Private links.

Likewise with the star icon, I'll probably just replace it with a Bookmark link, to match the other public controls in a post.

Thanks Brogan.

I've added a option for who wants to use icon or text:

Sem título.webp

Thanks ragtek, i made those changes. Thank you very much!
 
Also, a importer for who uses the Post-It addon.

This should work:
PHP:
INSERT IGNORE INTO xf_bookmark_posts (user_id, post_id, bookmark_date, bookmark_tag, bookmark_state)
SELECT postit_user_id, content_id, postit_date, 'All', public
FROM postit_content
 
This should work:
PHP:
INSERT IGNORE INTO xf_bookmark_posts (user_id, post_id, bookmark_date, bookmark_tag, bookmark_state)
SELECT postit_user_id, content_id, postit_date, 'All', public
FROM postit_content

Tha's nice! Thank you Syndol. I will use it.

Actually this add-on have some new fields, i will just have to make some changes in this query, but really thanks btw.
 
Great addon, i have testet it.
import works without problems.
i have startet to translate it to german and found some missing phrases:

bookmarks.webp

maybe some of them are missing in the actual german translation vor 1.1beta2, but the mouse over texts as marked are not phrased.
 
Updated to version 1.1.0. Changelog in the first post. Give me your feedback!

Thanks!
Hi Fuhrmann, thanks for the update.
I have installed your add-on and it is working fine.

I have the following code in my extra.css So, there's a like.png image with Like button on posts. The same like.png image is also displaying with Bookmark link. My question is how do I add a separate bookmark.png image with Bookmark text link? using the same way I used for Like link.
Code:
a.like {
background: url(styles/default/xenforo/icons/like.png) no-repeat;
padding-left: 18px;
padding-bottom: 1px;
}
 
Hi Fuhrmann, thanks for the update.
I have installed your add-on and it is working fine.

I have the following code in my extra.css So, there's a like.png image with Like button on posts. The same like.png image is also displaying with Bookmark link. My question is how do I add a separate bookmark.png image with Bookmark text link? using the same way I used for Like link.
Code:
a.like {
background: url(styles/default/xenforo/icons/like.png) no-repeat;
padding-left: 18px;
padding-bottom: 1px;
}

Try this:

Open the template bookmarks_posts_link_bookmark_text and change

Code:
" class="BookmarkLink item control [COLOR=#ff0000]like[/COLOR]" ><span>

to:

Code:
" class="BookmarkLink item control [COLOR=#ff0000]bookmark[/COLOR]" ><span>

Then add in your EXTRA.css:

Code:
a.[COLOR=#ff0000]bookmark[/COLOR] {
background: url(styles/default/xenforo/icons/YOURIMAGE.png) no-repeat;
padding-left: 18px;
padding-bottom: 1px;
}
 
does the tag filtering operate globally? or only for your own tags? can i search tags globally?
a global aspect could be pretty useful.
 
Hello, I don't know what happened but when I've installed the mod and enabled it in my user groups the front page messed up as you can see here. Can you help discovering what's happened? Now I've disabled it since the forum is not usable...

Schermata 10-2455851 alle 21.42.35.webp
 
Hello, I don't know what happened but when I've installed the mod and enabled it in my user groups the front page messed up as you can see here. Can you help discovering what's happened? Now I've disabled it since the forum is not usable...

View attachment 20175

This is because you're using Xenforo 1.04, and i have developed this addon in XenForo 1.1. I am looking for a solution.

netrix said:
I can confirm this error.

Are you using the XenForo version 1.0.4?
 
I have the same issue and it is with 1.0.4

View attachment 20238

Ok, i found the solution. Just do this if you have XenForo 1.0.4 running.

Open the file library/BookmarkPosts/Listener.php and look for this:

PHP:
case 'navigation_visitor_tab_links2':
                $ourTemplate = $template->create('bookmarks_posts_navigation_visitor_tab', $viewParams);
                $rendered = $ourTemplate->render();
                $contents .= $rendered;
                break;

Change this block, to this:

PHP:
case 'navigation_visitor_tab_links2':
                $ourTemplate = $template->create('bookmarks_posts_navigation_visitor_tab', $viewParams);
                $rendered = $ourTemplate->render();
                $contents = str_replace('</ul>', $rendered . '</ul>', $contents);
                //$contents .= $rendered;
                break;
 
Status
Not open for further replies.
Top Bottom