Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Edit Post Option/Dropdown Menu: (IPBoard Style) Details »»
Edit Post Option/Dropdown Menu: (IPBoard Style)
Version: 1.01, by princeedward princeedward is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 03-15-2008 Last Update: 03-16-2008 Installs: 21
Template Edits
Re-useable Code Code Changes  
No support by the author.


Edit Post Option / Dropdown Menu
(IPBoard Style)
(All vB v3.6 / 3.7 Compatible )


Description:

(2 Handy Option) To Edit Post/Messages In (1) Button:
Quick Edit Or Full Edit!



Procedures/Installation:
  • Download The File Below For Complete Instructions:

  • Before Anything Else...Always Make A BackUp

  • Template Edit: (1)

  • Edit Postbit Or Postbit Legacy

  • Admin CP > Styles & Templates > Style Manager > ? ? > Postbit Templates > postbit or postbit_legacy(depending on which layout you are using)

  • Upload Images To HostCpanel Via Ftp

  • For More Info Read Text File


Updates:

Version 1.01 (17/03/08):



Note:

If Anyone Can Make It More Better In Any Way (Xml Product) On This Mod...Feel Free To Submit Your Modification Here....


Hope You Like It And Find This Useful To Your Website!
If You Use This Mod; Please Don't Forget To:
  • Click "Mark as Installed"
  • Leave Any Comment
  • Rate
  • Nominate


Thanks And Best Regards To All!





A Special Thanks And Credit Goes Also To Lynne For Assistance...

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-17-2008, 01:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:
find (in his code):
PHP Code:
     <if condition="$post['editlink']">
     <
span id="editpost_option">
     <
img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" id="editpost_option" />
     <
script type="text/javascript"vbmenu_register("editpost_option"true); 
     </
script>
     </
span>
     </if> 
Replace with:
PHP Code:
     <if condition="$post['editlink']">
     <
span id="editpost_option$post[postid]">
     <
img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" id="editpost_option$post[postid]/>
     <
script type="text/javascript"vbmenu_register("editpost_option$post[postid]"true); 
     </
script>
     </
span>
     </if> 
And then find (in his code):
PHP Code:
     <div class="vbmenu_popups" id="editpost_option_menu" style="display:none"
Replace with:
PHP Code:
     <div class="vbmenu_popups" id="editpost_option$post[postid]_menu" style="display:none"
See if that fixes the issue. (the "id" for each postbit edit drop-down needs to be unique)
Reply With Quote
  #13  
Old 03-17-2008, 02:32 PM
codershark codershark is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Lynne: YES! Now it works right in Opera too ! Thank you so much !
Reply With Quote
  #14  
Old 03-17-2008, 06:08 PM
josepheseven josepheseven is offline
 
Join Date: Jul 2007
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod but has some problems working with Opera

I did what "Lynne" had told to do but it didn't work.
Only the first post of the topic is editable.

I have uninstalled it because of that problem but will install it again when that problem is solved
Reply With Quote
  #15  
Old 03-17-2008, 07:05 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New Updates:

Version 1.01 (17/03/08):
  • Code re-written.
  • Download files and view text file again, or view some changes here.
  • You must re-edit your template to make it work better now...(I Hope! )
  • Reported and tested work for "Opera Browser" now
  • Works for both vb3.6 and vb3.7
Reply With Quote
  #16  
Old 03-17-2008, 07:13 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by josepheseven View Post
Nice mod but has some problems working with Opera

I did what "Lynne" had told to do but it didn't work.
Only the first post of the topic is editable.

I have uninstalled it because of that problem but will install it again when that problem is solved
please re-edit your template as per Lynne suggested... tested myself also and it work fine now to opera browser...

best regards...

Reply With Quote
  #17  
Old 03-17-2008, 07:40 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
(the "id" for each postbit edit drop-down needs to be unique)
Million Thanks Lynne!
Reply With Quote
  #18  
Old 03-17-2008, 08:29 PM
todosbaneados todosbaneados is offline
 
Join Date: Feb 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i click in quick edit, the dropdown doesnt dissapears in the quick reply.
Reply With Quote
  #19  
Old 03-18-2008, 06:06 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin CP > Styles & Templates > Style Manager > ? ? > Postbit Templates > postbit or postbit_legacy(depending on which layout you are using)



FIRST STEP:

====================================
FIND HIGHLIGHT AND DELETE THIS CODE:
====================================

Code:
 <if condition="$post['editlink']">
     <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
     <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]">
     <img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" />
     </a>
     </if>
====================================
COPY AND PASTE THIS CODE:
====================================

Code:
<!-- start princeedward editdropdown menu  -->

     <if condition="$post['editlink']">
     <span id="editpost_option$post[postid]">
     <img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" id="editpost_option$post[postid]" />
     <script type="text/javascript"> vbmenu_register("editpost_option$post[postid]", true); 
     </script>
     </span>
     </if>  

<!-- / end princeedward editdropdown  menu  -->
====================================

NEXT STEP:

====================================
FIND:
====================================

<!-- post $post[postid] popup menu -->

====================================
COPY AND PASTE THIS CODE ABOVE:
====================================


Code:
<!-- start princeedward editdropdown popup menu -->

     <div class="vbmenu_popups" id="editpost_option$post[postid]_menu" style="display:none"> 
     <table cellpadding="4" cellspacing="1" border="0">

     <tr>
     <td class="tcat"><img src="$stylevar[imgdir_misc]/editpost_arrow.gif" class="inlineimg"  border="0" height="10" width="7">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]">Quick Edit </a>
     </td>
     </tr>

     <tr>
     <td class="tcat"><img src="$stylevar[imgdir_misc]/editpost_arrow.gif" class="inlineimg"  border="0" height="10" width="7">	
<a href="editpost.php?do=editpost&postid=$post[postid]">Full
Edit</a>
    </td>
    </tr>
    </table>
    </div>

<!-- / end princeedward editdropdown popup menu -->
====================================


CLICK SAVE:


Reply With Quote
  #20  
Old 03-19-2008, 11:27 AM
todosbaneados todosbaneados is offline
 
Join Date: Feb 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. installed but sometimes i click in the edit button and it doesn runs!!!

Thanks!
Reply With Quote
  #21  
Old 03-19-2008, 11:56 AM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really good work. I've tried your Code and it works great. Because I really don't need it I thought to give the TMS Code to someone who use TMS.

On a side note: For users who are using other languages exept English: Keep in mind to change the...
  • Quick Edit
  • Full Edit
... above Phrases into the desired language
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07192 seconds
  • Memory Usage 2,330KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete