vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   End-User Options - Classifieds: Mark Thread as "Sold" (https://vborg.vbsupport.ru/showthread.php?t=260699)

your24hourstore 03-31-2011 02:17 AM

ok so It updates the forum level if i use the edit button to change the prefix to sold, but if i use the thread moderators option it does mark it sold but doesn't update it at the forum level? and that using your showthread code and mine WTF :)

your24hourstore 03-31-2011 02:18 AM

ok i will give your account admin sec

your24hourstore 03-31-2011 02:20 AM

ok your account has it

Sforums 04-01-2011 05:05 PM

Works perfect, thanks.

I have a request: on my forum we run lots of auctions and I would like to have option "Auction Ended" instead of "Sold". Can you help me out?

venom2124 04-02-2011 02:33 PM

Quote:

Originally Posted by Sforums (Post 2179846)
Works perfect, thanks.

I have a request: on my forum we run lots of auctions and I would like to have option "Auction Ended" instead of "Sold". Can you help me out?

I'm guessing I could make on that does auction ended instead of sold. Shoot me a PM and we can talk about it.

marwan5332 04-02-2011 08:04 PM

:confused: NOT working 4.1.2

line 242

PHP Code:

                        vB_AJAX_ThreadRate_Init('showthread_threadrate_form', {vb:raw threadinfo.threadid}); 

How can I Fix this :(

the code has changed in the new version

PHP Code:

<vb:if condition="$show['addpoll']">
                        <
li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}poll.php?{vb:raw session.sessionurl}do=newpoll&amp;t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}&hellip;</a></li>
                    </
vb:if> 


venom2124 04-02-2011 09:20 PM

You should still be able to put the showthread edit code right under neither the poll code and it will still work. Need to update the edit showthread information.

marwan5332 04-02-2011 10:47 PM

:erm:

i trying to add This code , not in old ...

PHP Code:

{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']"'/'''

still nothing .. :cool:

venom2124 04-03-2011 01:14 AM

1 Attachment(s)
Quote:

Originally Posted by marwan5332 (Post 2180241)
:erm:

i trying to add This code , not in old ...

PHP Code:

{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']"'/'''

still nothing .. :cool:

Okay open the text doc, copy all the text and then paste it into the showthread template replacing all the code currently in the showthread template.

Let me know if that fixes the problem.

venom2124 04-03-2011 03:49 AM

Quote:

Originally Posted by Sforums (Post 2179846)
Works perfect, thanks.

I have a request: on my forum we run lots of auctions and I would like to have option "Auction Ended" instead of "Sold". Can you help me out?

I've got the mod pretty much coded out. Right now it's coded as auction closed, but I can change it to auction end if that's what you want shoot me a PM though and we can figure it out.

marwan5332 04-03-2011 08:57 AM

1 Attachment(s)
Quote:

Originally Posted by venom2124 (Post 2180266)
Okay open the text doc, copy all the text and then paste it into the showthread template replacing all the code currently in the showthread template.

Let me know if that fixes the problem.

Hi V

no :(

still Error code

Hear is my showthread , pleas tak a look :erm:

Thank you very much :)

venom2124 04-03-2011 02:40 PM

Quote:

Originally Posted by marwan5332 (Post 2180340)
Hi V

no :(

still Error code

Hear is my showthread , pleas tak a look :erm:

Thank you very much :)

What is the error code you are getting and where are you getting the error? Screenshots might help me figure out what is going on. I run 4.1.2 and I've got this working just fine. So more info should be able to help me figure out where the problem is.

marwan5332 04-03-2011 06:30 PM

Quote:

Originally Posted by venom2124 (Post 2180421)
What is the error code you are getting and where are you getting the error? Screenshots might help me figure out what is going on. I run 4.1.2 and I've got this working just fine. So more info should be able to help me figure out where the problem is.

Hi V

Everything excellent and installation successfully ;)

Thank you very much for your cooperation


:up:

venom2124 04-04-2011 03:16 AM

Quote:

Originally Posted by marwan5332 (Post 2180503)
Hi V

Everything excellent and installation successfully ;)

Thank you very much for your cooperation


:up:

Glad you got it working. What was the issue if you don't mind me asking?

Sforums 04-04-2011 03:48 AM

Quote:

Originally Posted by venom2124 (Post 2180306)
I've got the mod pretty much coded out. Right now it's coded as auction closed, but I can change it to auction end if that's what you want shoot me a PM though and we can figure it out.

Thanks for sending me the AUCTION CLOSED file, works perfect. I think you should add that product here on vborg, others might find it useful too. As per our agreement, I'll send you donation soon.

marwan5332 04-04-2011 06:02 PM

Quote:

Originally Posted by venom2124 (Post 2180638)
Glad you got it working. What was the issue if you don't mind me asking?

Nothing V :D


The issue cause ME :o

Thank you very much

venom2124 04-05-2011 02:14 AM

Quote:

Originally Posted by marwan5332 (Post 2180840)
Nothing V :D


The issue cause ME :o

Thank you very much

Glad you got it fixed.

venom2124 04-08-2011 02:42 AM

Quote:

Originally Posted by Sforums (Post 2180647)
Thanks for sending me the AUCTION CLOSED file, works perfect. I think you should add that product here on vborg, others might find it useful too. As per our agreement, I'll send you donation soon.

No problem and I got the auction closed mod up as well.

venom2124 04-10-2011 02:57 AM

tested on vB4.1.3

Worked perfectly.

venom2124 04-29-2011 07:29 PM

Going to start working on trying to figure out if I can put an out prune feature in so that once it's marked sold it gets moved to another forums or deleted.

boodog 05-01-2011 11:37 AM

Not sure what's wrong. Installed on vb 4.1.2 but when I test with a non-admin test account there are no prefixes selections available to mark a post SOLD. I've enabled every permission that I can think of but must be missing something somewhere :(

Works perfectly when I'm logged in as admin.

venom2124 05-01-2011 12:00 PM

Quote:

Originally Posted by boodog (Post 2190629)
Not sure what's wrong. Installed on vb 4.1.2 but when I test with a non-admin test account there are no prefixes selections available to mark a post SOLD. I've enabled every permission that I can think of but must be missing something somewhere :(

Works perfectly when I'm logged in as admin.

Have you selected the forums you want it to work on?

Also when you tested it was the thread created by the user id you were testing with? If it wasn't then it won't work since the user that created is the only one that can add the prefix. It would work with the admin since they have blanket permissions.

Does the prefix show up in the prefix's section in the admincp?

If so have you changed the user permissions in the prefix section?

boodog 05-01-2011 11:28 PM

Ok, I deleted the thread and started another one, and this time the Prefix option is working and enables SOLD. Not sure what I did but it's working :)

Really nice mod that fills a need for my forum. Thank you. Donation on the way.

venom2124 05-02-2011 07:33 AM

Quote:

Originally Posted by boodog (Post 2190860)
Ok, I deleted the thread and started another one, and this time the Prefix option is working and enables SOLD. Not sure what I did but it's working :)

Really nice mod that fills a need for my forum. Thank you. Donation on the way.

Glad you got it to work and thank you very much for the donation. Glad I could fill that need for your forum as well.

kingmotox 05-08-2011 05:19 AM

is there anyway to change the SOLD prefix color?

venom2124 05-08-2011 09:24 AM

Quote:

Originally Posted by kingmotox (Post 2193206)
is there anyway to change the SOLD prefix color?

Yes you can change the color. AdminCP --> Thread Prefix Manager --> Click on edit

Once you get to that point you will see some html code in the RICH Text section. You can change the code as you need.

Hope that helps.

Dennis B 05-27-2011 01:29 PM

Congrats venom on a very nice hack.

The only catch here is that this hack is interfering with the 'autopm on moderation' hack.
Before installing this hack, when manually closing any topic, the author would be notified by PM via the 'autopm' hack. After installation, though, this hack is preventing the notification from happening. Not sure you can or want to do anything about it, but I'd just thought I'd let you know.

venom2124 05-28-2011 10:05 AM

Quote:

Originally Posted by Dennis B (Post 2200571)
Congrats venom on a very nice hack.

The only catch here is that this hack is interfering with the 'autopm on moderation' hack.
Before installing this hack, when manually closing any topic, the author would be notified by PM via the 'autopm' hack. After installation, though, this hack is preventing the notification from happening. Not sure you can or want to do anything about it, but I'd just thought I'd let you know.

I can take a look at it and see if I can find the issue. Of course the mod is made for the user to mark there stuff sold and once marked sold it closes the thread. So it might be more annoying if the autoPM did work. Just a thought on my part. Haven't used the autopm hack so will have to look at the code on that one to see if I see something.

sadiq6210 05-28-2011 12:08 PM

Great =) Thanks

innova 05-29-2011 12:18 PM

Hello all,

Is there a way to force a prefix in the forums used by soldthread ?

venom2124 05-29-2011 01:47 PM

Quote:

Originally Posted by innova (Post 2201239)
Hello all,

Is there a way to force a prefix in the forums used by soldthread ?

What kind of prefix are you trying to force. You can force a prefix by setting the option in the ACP if you go to edit the forum. Of course that will require a prefix to post a new thread.

I hope that helps to answer the question if not give more detail and I'm sure we can help you figure it out.

Dennis B 05-29-2011 03:25 PM

Quote:

Originally Posted by venom2124 (Post 2200821)
Of course the mod is made for the user to mark there stuff sold and once marked sold it closes the thread. So it might be more annoying if the autoPM did work. Just a thought on my part.

True if it's the user who closes their own thread, but if a mod closes it, it would be nice to keep the notification. Anyway thanks for the reply, and as I said before I just wanted to report the conflict, I might take a look at it myself as soon as I have some time, since I have both installed. :)

innova 05-30-2011 02:40 AM

Quote:

Originally Posted by venom2124 (Post 2201270)
What kind of prefix are you trying to force. You can force a prefix by setting the option in the ACP if you go to edit the forum. Of course that will require a prefix to post a new thread.

I hope that helps to answer the question if not give more detail and I'm sure we can help you figure it out.

Thanks a lot, I think forcing will do just fine =) . I'm currently reinstalling this, could you be so kind to remind me where to edit who can mark as unsold? I know its there, but struggling in these late hours to put my finger on it.

Regards,

innova

venom2124 05-30-2011 04:21 AM

Quote:

Originally Posted by innova (Post 2201535)
Thanks a lot, I think forcing will do just find =) . I'm currently reinstalling this, could you be so kind to remind me where to edit who can mark as unsold? I know its there, but struggling in these late hours to put my finger on it.

Regards,

innova

ACP -> Thread Prefix Manager -> Edit Permissions

That will allow you to choose the user groups to give permissions to.

Then allow make sure that the mark sold is selected under the user groups.

ACP -> Usergroup Manager -> Edit user groups as required

Hope that helps. Let me know if you need anything else.

innova 06-04-2011 03:31 PM

I've got the prefixes all working great (using 5 of them) but I can't get "Mark as Sold" to show up in thread tools. I think perms all look ok, any suggestions?

innova 06-04-2011 04:19 PM

Quote:

Originally Posted by innova (Post 2203446)
I've got the prefixes all working great (using 5 of them) but I can't get "Mark as Sold" to show up in thread tools. I think perms all look ok, any suggestions?

Found the cause, but still working on the fix. It's a new style I've installed, when I revert to the Default Style, Mark as Sold shows up again.

** In comparing the page sources, the difference is that the new styles are not showing the following;

Code:

<li><a href="sold.php?do=marksold&amp;t=84">Mark this thread as sold&hellip;</a></li>
What mechanism is in place to include this that wouldn't be happening in the other styles?

Thanks!

innova 06-04-2011 06:39 PM

Fixed, SHOWTHREAD wasn't updated in each style.

ewebdesigner 06-10-2011 01:15 AM

I was unable to install this mod. Can you help me at all?

The problem I am having is template modifications. I could not find it.

I am running the newest version of vb

venom2124 06-10-2011 07:19 AM

Quote:

Originally Posted by ewebdesigner (Post 2205652)
I was unable to install this mod. Can you help me at all?

The problem I am having is template modifications. I could not find it.

I am running the newest version of vb

Which version are you running? If you are running 4.1.4 I'll have to do some research since I have not tried to install on 4.1.4 at this point.

venom2124 06-10-2011 11:35 AM

Quote:

Originally Posted by innova (Post 2203535)
Now that I have it working on all styles, I'd like to change SOLD to DONE, as we have multiple prefixes that SOLD doesn't apply to. So I'd like to just use DONE, and have one prefix for closing. I see you've done this in the past for some undisclosed donation, interested in what amount this was to see if it would be cost effective.

Thanks.

Let me look at the code but I should be able to do it fairly simply as for price all I ask if for a donation I don't set an amount. So what ever you think is fair. I'll look at it early next week and see should be able to convert it in a couple hours tops.


All times are GMT. The time now is 12:50 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.02781 seconds
  • Memory Usage 1,848KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (22)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