vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Recipe Mod Database (https://vborg.vbsupport.ru/showthread.php?t=142871)

Aimee1969 04-28-2007 06:05 PM

Please complete both the subject and message fields.

I get this message when someone posts....can someone help me?

Christine 04-28-2007 09:22 PM

Quote:

Originally Posted by Lionel (Post 1210097)
2-can you print recipe? If it's part of showthread it will not unless you add support code.

Quote:

Originally Posted by whitemike (Post 1210111)
No and Not tested. Will think about these in future release though.

I added this as an add-on mod for this product:

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

Christine 04-28-2007 10:23 PM

Quote:

Originally Posted by ArchangelX (Post 1237172)
Have you tried editing the posts? Did you have any problems with it editing the original post, but not the replies?

I am not having any trouble editing anything since I overwrote the plugin.

ArchangelX 04-28-2007 10:27 PM

I'm not sure if I was clear, what I meant...is if someone posts a reply AFTER the recipe is created, and the goes back to try and edit that reply...they end up editing the recipe and not their response?

That's the problem I was having, and I did the same thing you did...so I was wondering what's different. Thanks.

Christine 04-28-2007 10:38 PM

Quote:

Originally Posted by ArchangelX (Post 1237286)
I'm not sure if I was clear, what I meant...is if someone posts a reply AFTER the recipe is created, and the goes back to try and edit that reply...they end up editing the recipe and not their response?

That's the problem I was having, and I did the same thing you did...so I was wondering what's different. Thanks.

Yep -- you are right. If you do s quick edit, it is fine, but if you go to advanced mode, it opens up the recipe for editing.

Let me see if I can fix this.

ssvp 04-28-2007 10:45 PM

Quote:

Originally Posted by Christine (Post 1237290)
Yep -- you are right. If you do s quick edit, it is fine, but if you go to advanced mode, it opens up the recipe for editing.

Let me see if I can fix this.

That would be supersweet!

ArchangelX 04-28-2007 10:47 PM

Yes, I agree! I'm not a coder...I'm just a plugger-inner! Heh. I'd appreciate it if anyone knowledgeable could try to figure it out...I gave it a shot, but I was kinda lost, to be honest, and gave up. :)

Christine 04-28-2007 10:59 PM

Here's a quick fix (and it is working).

In the editpost template:

FIND

Code:

<if condition="$foruminfo[enable_recipe]">

REPLACE WITH

Code:

<if condition="$post[postcount] == 1 && $thread[forumid] == x">
Where x is the forum id of your recipe forum.

Christine 04-28-2007 11:04 PM

Well, that didn't work -- now the recipe can't be edited to the thread table. At least it is secure now where other people can't edit it. I will take another look...

ArchangelX 04-28-2007 11:09 PM

Thanks for your hard work Christine...my users love this new feature...so I must thank you for looking into it.


All times are GMT. The time now is 11:38 AM.

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.01381 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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