vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Personal Stickys (https://vborg.vbsupport.ru/showthread.php?t=102535)

fixer 01-02-2006 01:02 PM

thanx for this hack
it works.

the only thing is when someone try to stick a thread which is found in page 5 for example, the thread sticked in same page (5 in this example) not in first page.

anyone has a fix for that?

ronoxQ 01-02-2006 05:36 PM

Quote:

Originally Posted by Mephisteus
Upload the images to the proper image folder for the style you are using.

And click install :)

Heh :) It worked! Thanks mucho.

TosaInu 01-03-2006 10:47 AM

Quote:

Originally Posted by fixer
thanx for this hack
it works.

the only thing is when someone try to stick a thread which is found in page 5 for example, the thread sticked in same page (5 in this example) not in first page.

anyone has a fix for that?

That is only true, perhaps, when each page can display stickies. In case the board only lists stickies at page 1, the personal stickied topic at page 5 disappears.

Displaying $threadbits_personalsticky is wrapped into the condition <if condition="$show['stickies']">

It should be moved outside the condition, right above $threadbits.

That is not a real solution though, personal stickied threads should move to page 1. For some reason, the board hurls real stickies to page 1, no matter how old they are, while personal ones are confined within their own page.

Mephisteus 01-03-2006 11:52 AM

1.0.3 released.

Code Monkey 01-03-2006 03:25 PM

This has file edits now????

Mephisteus 01-03-2006 03:35 PM

Yes it does, it cant be done without them. Requesting a plugin for the two query spots would be useless since it could only be used for my hack.

DF-inside 01-03-2006 06:12 PM

Quote:

Originally Posted by aranthorn
Ah just for giggles, here's the part of my FORUMDISPLAY that is modified:
Code:

        <!-- show threads -->
        <if condition="$show['stickies']">
        $threadbits_sticky
        $threadbits_personalsticky
        <tr>
                <td class="thead" colspan="0">&nbsp;</td>
        </tr>
        </if>
        $threadbits       
        <!-- end show threads -->


The above post was found over here and is not compatible with the 1.03b version of this MOD.
I had the above code aswell, but will cause that the threads I personal stick are lost at the forums and cant be found anymore.

This solves:
Code:

       
<!-- show threads -->
        <if condition="$show['stickies']">
        $threadbits_sticky
        </if>
        $threadbits_personalsticky
        $threadbits       
        <!-- end show threads -->


dsotmoon 01-03-2006 06:34 PM

is there anyway to make this work per usergroups?

TosaInu 01-03-2006 07:41 PM

Quote:

Originally Posted by dsotmoon
is there anyway to make this work per usergroups?

Nice update Mephisteus.

aranthorn 01-04-2006 01:59 AM

Quote:

Originally Posted by DF-inside
The above post was found over here and is not compatible with the 1.03b version of this MOD.
I had the above code aswell, but will cause that the threads I personal stick are lost at the forums and cant be found anymore.

This solves:
Code:

       
<!-- show threads -->
        <if condition="$show['stickies']">
        $threadbits_sticky
        </if>
        $threadbits_personalsticky
        $threadbits       
        <!-- end show threads -->


While I said it did not solve the original issue here:
https://vborg.vbsupport.ru/showpost....0&postcount=78

I don't see how it's incompatible with 1.03b. I have this exact template edit and it's finding a previously buried personal sticky. I'm not trying to argue, but I just can't replicate what you've stated.

Big thanks for the update, excellent MOD!

sip217 01-06-2006 07:49 PM

Awesome! I just installed it. I think my users will love this one!

xml 01-12-2006 08:36 PM

i installed this plugin and its wonderful

But when plugin/Hook system is disabled i get this error when i try to login each section of my forum

Quote:

Database error in vBulletin 3.5.2:

Invalid SQL:

SELECT threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 3
AND (sticky = 1
OR threadid IN ())
AND visible IN (0,1,2);

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '))
AND visible IN (0,1,2)' at

can you fix this problem?

its really a big problem when you disbale a plugin your forum wont be working again

Mephisteus 01-13-2006 05:59 AM

Thats because that is a file edit

kr580 01-16-2006 02:04 AM

I installed this but the pin icon isn't showing up next to the threads. I uploaded the pics and then installed... the 'Stick this thread' icon shows fine, but not the pin.

Any ideas?

Totti 01-16-2006 07:11 AM

the normal pin goes to images and the stick this pin to images\style i think

kr580 01-16-2006 04:51 PM

Quote:

Originally Posted by Totti
the normal pin goes to images and the stick this pin to images\style i think

I uploaded them per instructions.

digitalSite 01-17-2006 11:25 PM

Hi: This looks like a pretty cool addition to my vB :) I was wondering, how would one "market" this feature? In other words, what can it be used for? Do you create a special forum only with people's sticky's on them, like a sticky board? Anyone like to share how you use this on your board? Looking for suggestions. Thanks :)

Legende 01-18-2006 07:26 PM

it's not working on my board :ermm: i've done everything what's in the readme but when i press "stick the thread" it's a short loading but nothing happens?

smdani 01-26-2006 11:12 AM

Quote:

Originally Posted by Floris
I know, but I really hope some day it will include a 'list my personal sticky threads' link in the usercp :)

I hope too

And I was trying to call the list of forums what were marked as stiky and I had managed to show it with two SQL queries and some other code. Like this
PHP Code:

SELECT threadsticky FROM user WHERE userid='$the_user_I_want' ORDER BY  username ASC 

And this
PHP Code:

SELECT threadid,title,lastpost,lastposter FROM thread WHERE threadid $fa ORDER BY lastpost DESC 

Where $fa takes the list of threadids who had marked and $the_user_I_want is my problem because I don?t know how to take the $userid at the same time that I do the rest of it

The only step left is to put this into the userCP whit a plugin, template change, or editing the usercp.php but its out of my range, I do some tries without success

?Any one could help me with some clue?
Thanks for your help, and thanks for the hack, its really good

SilentNoise 02-08-2006 01:52 AM

Love it. that's one heck of an idea

RGSMDNR 02-16-2006 02:51 PM

i get this error...

Parse error: syntax error, unexpected T_STRING in /home/XXX/public_html/forums/forumdisplay.php on line 802

but it still works if i dont edit this file??

Webs007 02-20-2006 09:13 AM

Can you make an option that a user has to pay to enable there post to become sticky for a certain number of days.

Breakdown:

Admin panel - to set price - and how many days it should be sticy for

User can post a thread - and then on the actual post - when it has edit - quote etc - there could be a option that says - "enhance" (or something similar) - they get taken to a paypal page - then once paid - they return to the forum and there thread is sticky at the top for 5 days (or whatever the admin has specified in the control panel).

What do you think?

Webs007

Smiry Kin's 02-20-2006 12:32 PM

Theres already a payment sticky thing..

Webs007 02-20-2006 12:46 PM

really? - Do you have a link to the plugin then?

antialiasis 04-24-2006 06:01 PM

Installed, and works like a dream. Thanks.

Webs007 05-03-2006 10:39 AM

Quote:

Originally Posted by Smiry Kin's
Theres already a payment sticky thing..

Your silence says it all, for those of you interested there is a Plugin being made here.

https://vborg.vbsupport.ru/showthread.php?t=108228

Webs

brianmt 05-09-2006 03:15 AM

Warning: in_array(): Wrong datatype for second argument in /showthread.php(1911) : eval()'d code on line 352

could you tell me how to fix it?

Mephisteus 05-09-2006 07:59 AM

Yes, apply the code edit.

brianmt 05-09-2006 02:20 PM

ummm i have applied it, the error is about .php but i only edited the one in the templates...

also when you said below you meant leave the original code and put the new one directly under the original (and the smae with above) right?

thanks

Mephisteus 05-09-2006 05:26 PM

When I say add below or above I do mean leave the orignal bit.

The thing I can otherwise imagine is that you didn't upload the product.

And stupid question, you do have the latest version right?

brianmt 05-09-2006 06:37 PM

I have version 3.5.2, which it has been tested on, and is the version its made for....

maybe i didnt upload the product right liek you pointed out. I don't think i know how.....

See what i did was i uploaded the product.xml file to vb/includes/xml/ the includes xml file part with FTP....how am i supposed to do it?

Mephisteus 05-09-2006 08:46 PM

Did you also import it (http://www.vbulletin.com/docs/html/import_product)?

brianmt 05-10-2006 01:49 AM

it worked thanks, mate.

Amiga-uk 05-24-2006 08:39 PM

Im having problems with this working in connection to the vRewrite plugin.. Is there a way to get this working with the rewritten urls?

Derek 05-31-2006 06:20 AM

I did everything per the instructions in the zip, but I don't see the link to sticky the threads. Any idea why it would not work?

Mephisteus 05-31-2006 08:21 PM

@Amiga-uk
I don't know the vRewrite thing works. And have no intention of installing it. It should however be a simple modification so if anyone knows it. Feel free to post it up.

@Derek
Check to make sure you did the template edit. It's the only reason I can think of why it wouldn't display the option.

Oblivion Knight 06-09-2006 08:00 PM

Any plans to update this for vBulletin 3.6.0?

I've worked around the file and template edits, but the option doesn't appear on a thread - so I'm guessing parts of the plugins need to be rewritten aswell..

Mephisteus 06-10-2006 10:15 AM

I plan on fixing this when I start working on my own board which I hope will be very soon depending on how things go on with school.

[edit]
Obviously things are busy with school. Don't expect to see this mod converted before final comes out. I do intend on converting it but I just have more important things to deal with atm.

JenniferK 09-07-2006 10:38 PM

any update on when this may be available?

Keyser S?ze 11-20-2006 09:44 AM

this is a pretty cool hack any idea when u might be able to make it work in 3.6.3? thanks


All times are GMT. The time now is 01:05 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.01375 seconds
  • Memory Usage 1,824KB
  • 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
  • (2)bbcode_php_printable
  • (9)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