Thread: Miscellaneous Hacks - eD2K Links Hack
View Single Post
  #61  
Old 04-16-2007, 04:22 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just an update here:

I have fixed some problems and also added a few more features to make the hack a little better. Here are a list of things I have changed:

[1] I have now added instructions on how to create a "Template Group", so your two ed2k templates added, are situated in there very own ED2K Template group.

[2] Instructions have also been added, so you can display the ed2k link editor icon image in both the "Quick Edit" and "Quick Reply" pages on your forum. No need to go "Advanced" anymore to use the ed2k link editor icon.

[3] The "Word Wrap" and "Disable Smilies" has been fixed now in the XML code, there was an error in the code that CarpHunter posted earlier in this thread. That's been fixed now and was a simple mistake he made). Meaning there is no need to change the "Word Wrap" settings in the AdminCP options anymore. The instructions in the download have been edited to reflect this, along with some other changes as well. Smilie code will also not effect ed2k links posted now. If an ed2k link has a smilies code in it by accident like:

Code:
:)
for example. It won't be displayed in the ed2k link as a smilie image. While still working as normal in your threads.

[4] I've also changed the link at the bottom of the ed2k link box, so it now leads to eMules own site, instead of ed2k.biz. And the text before the link explains they need eMule installed to download the links (quick reminder with a link for them).


Unfortunately, I've not had the time so far to look into the cache problem posted in a few threads above above. I'll take a look at this later (but I'm not hopeful I can fix this problem). Would be nice if some clever coder could also try and find a solution to that problem to stop all ed2k link disappearing when you re-build the cache in the AdminCP.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01099 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete