Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

QuickReferences 1.2

7 Aug 2016 Edited
#1
QuickReferences is a simple plugin which lets you reference to other threads quickly using their identifiers. Thanks to At.js, a dropdown list will be generated everytime your users type an hashtag (#) followed by the threads name they want to search for. The dropdown is attached to textareas and MyBB's default WYSIWYG editor (SCEditor) both in WYSIWYG and Source modes when you post a new thread, new reply, edit a post, perform a quick reply and perform a quick edit (basically, everywhere it is most useful).

CKEditor-based plugins (including Rin Editor) are supported.

Starting from 1.2, Unicode characters are supported.

[Image: WiE0XgP.gif]

Technical implementation


QuickReferences exploits AJAX to query the database for a list of threads containing your search words. It's packed with a stupidly simple caching system which prevents sending too many queries, saving resources. Results are limited to 5 threads per search query and when a query string returns less than 5 threads, it stops querying the database and gets threads from the cache.

On the backend side, hashtags followed by threads identifiers are matched using a regular expression and replaced by a placeholder when singular posts are parsed. In the end, a single query of all collected thread identifiers is performed and existing threads ultimately replace valid placeholders. Non existing threads are not parsed and their corresponding placeholders are restored by the original matched string.

Customization


You can customize links generated by QuickReferences by using the CSS class .quick_reference.

Requirements


QuickReferences requires MyBB 1.8.0+ and PHP 5.4+.

You can follow the plugin's development here: QuickReferences development.

Installation instructions


The installation is as simple as uploading the files maintaining the same folder structure they are compiled to and clicking the button Install & activate within your board's plugin list.

QuickReferences does not add any settings.

QuickReferences adds a CSS file named at.css to every theme of your board. You can customize the dropdown's appearance by editing the stylesheet's CSS rules.

Upgrading instructions from older versions to newer ones


Simply upload the new files, replacing the old ones. You don't need to uninstall the plugin.

Reporting issues


If you encounter an issue, feel free to open a new thread in this forum with detailed instructions on how to reproduce your issue. Suggestions and feature requests are appreciated as well.
Filename Size Downloads
19.31 KB 287
phpkiller, Jopie, honger And 2 others like this post
Shade 9 Aug 2016
#11
The main reason is that I want to keep some features restricted to this site. Many forums have unique features, this can be one of them.

Anyway, CSS support is already available (a stylesheet named at.css is added to your themes upon installation, as stated in the release notes). The bug is known and under investigation, but it seems like a bug of At.js which I have not developed myself. I will investigate though, thank you @Eldenroot.
Eldenroot 9 Aug 2016
#12
Yeah, I understand. However your plugin would offer full solution for MyBB which is really great but these kind of feature is really missing :(
Eldenroot 15 Aug 2016
#13
Is there any way how to add full url pathway into "title" atribute on mouse hover?

Moreover, I like your way how you custumized the looks of mentioned links - I successfully added font awesome icon, but I have an issue with background css - not accepted
Shade 15 Aug 2016
#14
Find inc/plugins/quickreferences.php, line 275:

$threads[$thread['tid']] = "<a href='" get_thread_link($thread['tid']) . "'>" $thread['subject'] . "</a>"
You can tweak around with the HTML here. I've added a "quick_reference" class on MyBBoost but it's likely I will add it to the public 1.2 too.

What's the background issue you're having? Doesn't seem to be a plugin's issue but a theming issue. Unfortunately, I don't support custom theming.
Eldenroot likes this post
Eldenroot 15 Aug 2016 Edited
#15
Thank you, it would be nice to add a class tag into your next release to provide easier way for own customization.

I solved it, nevermind my friend - I need to buy new glasses or bigger display :D

My solution (for everyone else) - add this into global.css

/** URL links in posts/threads customization **/
.post_content a:link:before {
    
content"\f0c1";
    
font-familyFontAwesome;
    
font-weightnormal;
    
margin-right3px;
    
displayinline-block;        

brad-t 18 Aug 2016
#16
The main reason is that I want to keep some features restricted to this site. Many forums have unique features, this can be one of them.
Shade (9 Aug 2016)
I obviously have a ton of respect for your work and I think you should do as you please with it. However, I am pretty against this type of thinking in general. Realistically, the overlap between potential users of this forum (a site about MyBB plugins) versus other communities that could use these features (my Beyblade site, a hockey community, who knows?) is pretty much zero. Realistically, there's nothing to lose by releasing this stuff (except the time spent supporting it for others, which is a legit concern).

I'd love to be able to release more of the stuff I work on, but it's 1. usually heavily based on the work of others, and 2. really sloppily done. :')

Anyway, just some food for thought. Thanks so much for everything you already do.
Shade 18 Aug 2016
#17
Interesting point of view @brad-t. I have as much respect to you as you do have for my works, and you certainly got some solid points there. I will undoubtedly think about it when I will be back.
Shade 29 Aug 2016
#18
He's using the same library, so it's likely you load the library twice. I won't support third parties, but a simple edit to remove the framework from the one that loads the most afterwards should be enough.
Eldenroot 30 Aug 2016
#19
Yes, you are right.

Can you provide (after your exams when you have enought free time) any straight forward how to make them working together? I will try myself, I hope I will solve this issue (if yes, I will post an instructions here).

Another solution - offer all in one plugin with user and thread mentions in future

Keep good work!
Eldenroot 13 Sep 2016
#20
@Shade - I hope your exams are done without any issues. Can se expect new version with unicode and no avatar fixes?